Cicero said this quote

The precept Know yourself was not solely intended to obviate the pride of mankind but likewise that we might understand our own worth.