James 1:3; James 1:12

3 because you know that the testing of your faith produces perseverance.
12 Blessed is the one who perseveres under trial because, having stood the test, that person will receive the crown of life that the Lord has promised to those who love him.