Not only so, but we also rejoice in our sufferings, because we know that suffering produces perseverance.

Romans 5:3