It's more "redirecting" your emotions by thinking of something more pleasant...
It's not that at all. It's thinking through why you feel a certain way, understanding it then challenging that thinking to find a better outcome. Once you think of possibilities your mind get's off the hopeless loop.
Read up on Aaron Beck, Albert Ellis and Martin Seligman.
"What is best for my kids is best for me" Link to quotes: https://www.divorcebusting.com/forums/ubbthreads.php?ubb=showflat&Number=2879712