Do you ever compare yourself to other people and think about how much of a failure you are?

I know that comparing yourself to others isn't great for your mental health, but I can't help but compare myself to other people (especially people my age) and think about how much of a failure I am. I see people my age accomplishing a lot of things that I have been dreaming of while I can't even leave my room because I have no motivation.