Beyond Good and Evil by Friedrich Wilhelm Nietzsche

122. To rejoice on account of praise is in many cases merely politeness

of heart--and the very opposite of vanity of spirit.