I've gone through lots of slumps in the past few years, most of them were because of personal life problems I had to address. But what I did to get through them was thinking that I still needed to become better.
It's selfish and ignorant to compair yourself to others and using this type of jealousy or envy as a driving force for self improvement but that was the base of it all. My anger towards myself not improving motivated me to learn more about the things I needed to know in order to become like those people I aspired to be one day.
I understand jealousy is toxic, but eventually it faded and all I had was the motivation of becoming better, I gradually moved from trying to be better than everyone to trying to better than myself. Constantly compairing my art from a year ago or even just a few days before I learned a new technique from a youtuber I like.
I guess what worked for me was being angry at myself for not improving,
Improve at your own pace and know you'll eventually get better.
Live life feeling all those emotions and use them toyour advantage. Tame the wild beast within and ride it.