Is It Hard to work as an Male in Human Resources

I am Currently persuing HR in MBA and there were many problems I have faced like in many opportunities it was directly stated that only female are required no equal opportunity even though I have same capabilities and I can bring same amount of contribution.

What can I do to survive in Human Resource