You need to change your thinking.
When you see that all of the money has gone in and you're miles ahead... you've made your opponent make the worst possible play, etc. etc. You should be CELEBRATING this.... regardless of the outcome of the hand.
In the past I would get very angry with the DONKEYS who would play like garbage and then hit their miracle cards and knock me out of the tournament (or win a big pot on cash table). And I thought that I didn't mind it so much when I got coolered or when I got it in bad and lost but I could not get past 'those lucky donks!!!'.
BUT, this ^ thinking is the very opposite of how I need to be thinking. I should be quietly rejoicing that there are huge donks on the tables and that they have made the worst play possible vs. me.
Take it one step further and I am feeling good about them winning the hand (if DONKS didn't win hands this way, they would quit playing poker. This is the great thing about poker... bad players actually think it's mostly about catching good cards & getting lucky. It's good for poker when they win. It's great for poker when they do well in a tournament and even better if they go on a run of good results in tournaments, often resulting in them believing they are much better at the game then they actually are.
And if I can't wrap my head around this stuff and I am still ANGRY with those eff'n donks then picture that donk on your table is the old lady who lives down the street (or down the hallway) who really enjoys playing her online poker while sipping on a cup of tea. I mean how can you possible get upset with a nice old lady winning a hand of poker?????