When you meet a worthy person, think how you could become his equal. When you meet an unworthy person, turn inward and examine your own conduct.

philosophy
The Analects by Confucius