Ralph Waldo Emerson said this quote

When a man is pushed, tormented, defeated, he has a chance to learn something.