Instead of throwing up your hands in defeat when things go wrong, look at the situation from a different perspective. See it as a challenge to be overcome. Your attitude makes all the difference. Winners and losers are distinguished not by the circumstances they face, but by the way they face them.
Challenges are painful, inconvenient, and uncomfortable.
They demand your time, your effort and your energy. And they make you stronger as a result. Rather than accept defeat, see the challenge. Put the best that you have into getting past that challenge. It's easy to be a victim, but that won't get you anywhere.