Romans 5:3

NLT
New Living Translation

3We can rejoice, too, when we run into problems and trials, for we know that they help us develop endurance.