James 1:2-12 NLT
Dear brothers and sisters, when troubles of any kind come your way, consider it an opportunity for great joy. For you know that when your faith is tested, your endurance has a chance to grow. So let it grow, for when your endurance is fully developed, you will be perfect and complete, needing nothing.
If you need wisdom, ask our generous God, and he will give it to you. He will not rebuke you for asking. But when you ask him, be sure that your faith is in God alone. Do not waver, for a person with divided loyalty is as unsettled as a wave of the sea that is blown and tossed by the wind. Such people should not expect to receive anything from the Lord. Their loyalty is divided between God and the world, and they are unstable in everything they do.
Believers who are poor have something to boast about, for God has honored them. And those who are rich should boast that God has humbled them. They will fade away like a little flower in the field. The hot sun rises and the grass withers; the little flower droops and falls, and its beauty fades away. In the same way, the rich will fade away with all of their achievements.
God blesses those who patiently endure testing and temptation. Afterward they will receive the crown of life that God has promised to those who love him.
NLT: New Living Translation