"Furthermore, a person of no integrity is learned... a master of
the Vinaya... a Dhamma-speaker. He notices, 'I am a Dhamma-speaker,
but these other monks are not Dhamma-speakers. He exalts himself
for being a Dhamma-speaker and disparages others. This is the
quality of a person of no integrity.
"But a person of integrity notices, 'It's not through being a
Dhamma-speaker that the quality of greed goes to its end; it's not
through being a Dhamma-speaker that the quality of aversion... the
quality of delusion goes to its end. Even though one is not a
Dhamma-speaker, if — practicing the Dhamma in line with the Dhamma,
practicing masterfully — he is one who follows the Dhamma, he is to
be honored for that, praised for that.' So, giving priority just to
the practice, he neither exalts himself for being a Dhamma-speaker
nor disparages others. This is the quality of a person of
integrity.
Sappurisa Sutta MN 113