Romans 5:3 NKJV

3 And not only that, but we also glory in tribulations, knowing that tribulation produces perseverance;