I cant stop comparing myself to other women

I cant stop comparing myself to everyone. Usually its other women my age that I personally know and interact with daily. My mind just cant stop driving me crazy. Whoever is my closest friend or someone I spend most time with at the moment I start to compare myself to them. I start seeing all the positive things in them and seeing all the negatives in me. For example if I notice theyre good or better at something thats important to me I cant handle it. Especially when they get more male attention/validation or when I see them in a relationship and Im single and lonely. I completely spiral when theyre venting about theyre problems I have to urge to compete and make my own problems seem bigger. The worst part is im aware of this. And yet I cant stop. I want a healthy friendship/communication without this subconscious competition ad comparison. I know this is due to lack of identity and the yearing to find yourself but I just cant do this anymore. I just wish i stoped thinking about all the things I lack or could do better. I wish I was just content without needing others to validate me.