When it doesn’t go your way
You've got a choice.
Accept it, learn from it, reflect on it, use it as fuel for the next one, be thankful for the opportunity, tell yourself this is a chance to improve.
Or...
Blame someone, "They shouldn't have done that!", blame something, tell yourself I'm not going to even try anymore.
One helps. The other doesn't.