Lao Tzu said this quote

Mastering others is strength. Mastering oneself makes you fearless.