From the Sutra on Knowing the Better Way to Catch a Snake, translated by Thich Nhat Hanh:
“Bhikshus, if people blame, criticize, defame, or defeat you, or respect, honor, or make offerings to you, there is no need on either account to feel angry or pleased, nor to do anything in revenge? Why? If you look deeply, you will see there is no ‘I’ and no ‘mine’. If someone were to walk around the grounds of this monastery and pick up the dead branches and dried grass to take home and burn or use in some other way, should we think it is we ourselves who are being taken home to be burned or used in some way?”
“No, Reverend teacher.”
“It is the same when someone praises, honors, or makes offerings to us, or blames, criticizes, or defames us….” (pg 14-15)
Good advice for anyone, I think.
P.S. More on the “no I” teaching here.