“Count it all joy, my brothers, when you fall into various temptations,”
Find the verse you're thinking of