For more of the science behind approaches like this check out the first four chapters of 'Hardwiring Happiness' [0] and try the exercises listed in the book. It sounded like fluff when I first came across it but so far it's helped me relate to perhaps unsavoury mind states in more healthy ways.
[0] https://www.amazon.com/gp/product/0385347316/