Viktor E. Frankl said this quote

Suffering ceases to be suffering at the moment it finds a meaning, such as the meaning of scarifice