James 1:3-5

3 because you know that the testing of your faith produces endurance.

4 But you must let endurance have its full effect, so that you may be mature and complete, lacking nothing.

5 Now if any of you lacks wisdom, he should ask God, who gives to everyone generously without a rebuke, and it will be given to him.