James 1:2-4

2 Consider it all joy, my brethren, when you encounter various trials, 3 knowing that the testing of your faith produces endurance. 4 And let endurance have its perfect result, so that you may be perfect and complete, lacking in nothing.

James 1:12

12 Blessed is a man who perseveres under trial; for once he has been approved, he will receive the crown of life which the Lord has promised to those who love Him.