Just read the saying:
It’s not WHAT HAPPENS TO YOU that matters most.
It’s how YOU THINK ABOUT what happens to you that counts.
This may sound like a cliche, but perhaps next time when something bad happens, reflect on the following?
Every disaster in your life is not so much a disaster, as a situation waiting for you to change your mind about it.