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.
James does not ask you to enjoy pain. He says a tested faith grows endurance, and endurance, given time to do its work, makes you whole, lacking nothing.