Whatever happens is the best thing. What is the alternative? When things happen that are outside of our control then the best thing is to just think that this is the best thing. If you cannot think this is the best thing then think of three other good things to come out of the situation.
This is not being blind to reality - quite the opposite. It is understanding that our reality is made in our perceptions and our thinking. Just because something did not play out the way we wanted, it is no reason to assume it is bad. It has happened. This is all the reality of the situation. Nothing that happens is good or bad. It just has been. If it has happened, then you cannot change it. You cannot go back, only forwards, only now. Any appropriation of emotion, any labelling of good or bad is all in our minds.
What is the point of thinking something is bad? You cannot change it and it is your thinking that it is bad that is making you feel the way you feel. Rather than trying to change the world around you, try focusing on your own thinking, your own emotions, your own philosophy.
If you do not already think like this, that whatever happens is the best thing, then do not wait for something big and unexpected to happen. Start practicing now, whilst things are good, while you do not need it.
Ignore the bad things, focus on the good. And, of course, the bad things are also the good things. What is the alternative? To make yourself miserable? Thinking that everything is bad, that the world is against you, that you cannot do anything about it?
Let go of outcomes. You are not in control of these. Inputs are out of your control, but you could still get stopped from physical actions today. Thinking is the only thing that is in your control. Treat it with the special attention it deserves and train this muscle.