How to deal with female friends that hate more successful women?

So, I just realised that some of my long-term female friends hate women who are more successful than them and even though we're long-term friends they can hate me for my success even.

Recently some of us took a difficult exam and two people qualified it– me and a guy from our class. Despite being friends with me most didn't congratulate me. I was fine with it. However later I saw a social media post of that guy on the same topic and these same people are so excited to congratulate him there! They've written long paragraphs and reassured him that they always knew that he was smart. This reminded me that once at school I had topped my class and some of my female friends chose to rather consider the person who came second to be the topper as that person was a guy. And no, it's not their hatred for me specifically, I have realised that such people are usually very critical of women in general. Yes, I'll probably cut my ties with them but I'm really curious to know what you all think about this issue. I know tons of women as well as myself who love celebrating successful women. Their behaviour really feels so weird to me!

How to deal with female friends that hate more successful women?
Post Opinion