I rejoice in my sufferings, for I know they help me to develop perseverance

Romans 5:3

Not only this, but we also rejoice in our sufferings, knowing that suffering produces perseverance.

from Suffering topic