Challenging situations will arise. I’ve tried, with some success, to train myself that when they do: I stop, take a couple of breaths through the nose, and ask myself “what’s the opportunity in this”? I’m only ever grateful that I did. I only ever get to a better outcome as a result.
In really challenging situations, the crucibles that life will serve up from time to time, one can upgrade the question to “how can I make this one of the best things that’s ever happened to me”?