2 Count it all joy, my brothers, when you meet trials of various kinds, 3 for you know that the testing of your faith produces steadfastness. 4 And let steadfastness have its full effect, that you may be perfect and complete, lacking in nothing. (James 1:2-4, ESV)
Trials are no fun. But you can have a good attitude while you go through them. We just need to remember that the end result will be, ultimately, to our benefit. Besides, does it make tough times any better if you have a bad attitude?
Prayer: Lord, I know trials are for refining. Strengthen me for endurance.