Ja 1:2-3. My brethren, count it all joy when ye fall into divers temptations; Knowing [this], that the trying of your faith worketh patience. But let patience have [her] perfect work, that ye may be perfect and entire, wanting nothing.
1Pet 4:12-14. Beloved, think it not strange concerning the fiery trial which is to try you, as though some strange thing happened unto you: But rejoice, inasmuch as ye are partakers of Christ’s sufferings; that, when his glory shall be revealed, ye may be glad also with exceeding joy. If ye be reproached for the name of Christ, happy [are ye]; for the spirit of glory and of God resteth upon you: on their part he is evil spoken of, but on your part he is glorified.
1Co 10:13- There hath no temptation taken you but such as is common to man: but God [is] faithful, who will not suffer you to be tempted above that ye are able; but will with the temptation also make a way to escape, that ye may be able to bear [it].