Sadness, disappointment, negativity...
are not worthy of lingering in your system, your thoughts.
So what better way to eliminate these feelings than to stop them as soon as they come.
I always remember Peter Pan's "Think of happy thoughts". Although easier said than done, you just got to.