That person is NOT wrong at all. You are someone who is seeing yourself as a woman first and then an individual. A lot of women in newer batches have much higher placement rates and higher packages specifically because of DEI. And it is causing a lot of anger and misogyny is the minds of these guys. I have seen first hand, how the behaviour of many guys around me has changed as placements came around towards women.
Just because you are a talented individual, doesn't mean you can deny the existence of DEI.
What our society encompasses today is the best of traditionalism(where men are supposed to be courteous toward women, chivalrous and sacrificial, protective of women) and feminism(where women have all the choice to do anything, pursue anyone and anything without much social repercussions)
This is also a kneejerk reaction by the fast changing culture of our times. So no, it's not just 'society', niether is it about competent women; this is just the manifestation of frustrations by men over how easy are getting it these days.
Also, women are leaving the nation because they can. Anyone who is educated or capable enough of leaving India is leaving. Women are even more liberal and less conserative towards things like nation, religion, etc(this is backed by sources), so no surprises there.