"In the same way, monks, if some monk is overwhelmed with gains, favors and fame so that his head is turned, so, having risen early and taken his robe and bowl and gone for alms to the village or market town, he eats his fill, gets invited again for next day, and has a full bowl. Then he goes to the monks' park, and boasts in the midst of the assembled monks: 'I have had a good meal, and I am invited again for tomorrow. My bowl is full. I have got a robe, alms, lodgings and medical requisites. But these other monks have little merit and little influence; they do not get such requisites.' Thus this monk, who is so overwhelmed with gains, favors and fame that his head is turned, despises other well-behaved monks. But this will bring harm and sorrow to that wretched man for many a long day. That shows you, monks, how disastrous gains, favors and fame are, what a bitter, harsh impediment to the attainment of the unsurpassed freedom from bondage. Therefore monks, you should train yourselves thus: 'Whatever gains, favors and fame may come our way we will reject, lest it turn our heads.' So, monks, you should train yourselves."
(Pilhika Sutta, ‘Dung-Beetle Discourse’. Note: Although Buddha is addressing monks in this discourse, this teaching equally applies to anyone else seeking nirvana, or release from suffering.)