Samuel Johnson said this quote

He that would be superior to external influences must first become superior to his own passions.