There are two ideas that help me when things go wrong.
The first is a reminder that things could always be worse. The more I spend time in worse possibilities (and they exist in plenty), the more grateful I feel.
The second is an old-time belief/superstition that my mom passed on ages ago. I was told that every time something bad happens, it is a gift because it is a sign that something much worse has been averted.
It is a wonderfully optimistic superstition. :-)
Gratitude and optimism tend to be (the most?) powerful tools we have to battle challenges in this life. They help us keep perspective and ensure we’re focused on what lies ahead of us.
And, when we’re dealing with difficult situations, that perspective and focus on the future goes a long way.