Dieter F. Uchtorf teaches the importance of being grateful in every circumstance that allows privilege to be apart of our lives. Does it mean we will be grateful for it? Not necessarily. BUT there is always something to learn and find positive feedback about every situation.
Keeping a gratitude list/journal will help you stay focused on the things that matter in each trial/difficulty/struggle. If you know you are looking to be grateful in something, then your mind and heart will change toward godliness. Seeking godliness and humility truly helps us find the meaning and purpose in our lives.