Using strategies (such as distraction) to cut down on how often you dwell on your problems and compare yourself with others.
The happiness strategy "Avoiding Overthinking & Social Comparison" is one of 12 scientifically proven ways to increase your happiness level. It has many facets. The following figure lists 6 of the most important ones.