Arthur Schopenhauer said this quote

Pride ... is the direct appreciation of oneself.