The vain man goes to excess in comparison with his own merits, but does not exceed the proud man's claims.
Now the proud man, since he deserves most, must be good in the highest degree
 Aristotle, Nicomachean Ethics (c. 334 BC - 330 BC). copy citation

add
Author Aristotle
Source Nicomachean Ethics
Topic comparison excess
Date c. 334 BC - 330 BC
Language English
Reference
Note Translated by W. D. Ross
Weblink http://classics.mit.edu/Aristotle/nicomachaen.mb.txt

Context

“for it is honour that they chiefly claim, but in accordance with their deserts. The unduly humble man falls short both in comparison with his own merits and in comparison with the proud man's claims. The vain man goes to excess in comparison with his own merits, but does not exceed the proud man's claims. Now the proud man, since he deserves most, must be good in the highest degree; for the better man always deserves more, and the best man most. Therefore the truly proud man must be good. And greatness in every virtue would seem to be characteristic of a proud man. And it would be most unbecoming for a proud man to fly from danger, swinging his arms by his sides, or to wrong another;” source