You may not able to control every situation and its outcome, but you can control your attitude and how you deal with it.similar to what I say a lot.if you can't change the situation, the only other thing then that you can change is your attitude.
Walking away, with your head held high is dignity. Walking away with head held high and a gleam in your eye is called self-esteem. Walking away with your head held high and a gleam in your eye and pride in your stride is called cockiness. Walking away .