James 1:3 in the King James Version
Knowing this, that the trying of your faith worketh patience.
Context
2 Count it all joy, my brothers, when you fall into various temptations,
3 knowing that the testing of your faith produces endurance.
4 Let endurance have its perfect work, that you may be perfect and complete, lacking in nothing.