W. Somerset Maugham said this quote

It is not true that suffering ennobles the character; happiness does that sometimes, but suffering for the most part, makes men petty and vindictive.