Orson Scott Card said this quote

Happiness is not a life without pain, but rather a life in which the pain is traded for a worthy price.