Mindfulness and meditation can definitely help in this area. There are a whole host of guided techniques out there on youtube, podcasts, etc.
I'm not sure how much time you spend on social media or mainstream news, but i've found that avoiding those places - or at least greatly minimizing your exposure - can also help. Places like Facebook/Instagram/etc actually promote envy/anxiety in my personal opinion.