Antoine De Saint-Exupéry said this quote

That is the hardest thing of all. It is much harder to judge yourself than to judge others. If you succeed in judging yourself, it's because you're truly a wise man.