It's not that simple. Societal pressure can cause people to behave in ways that are detrimental to their own well-being (especially in a situation where the actual effects are extremely subtle). Question: which job would be more appealing to the average person who identifies as female: a job where she gets to work with other women and not face any criticism, harassment, or judgement for doing so, or a job where she is surrounded by men who (on average) get paid more and hold all of the higher level positions?
Take it a step further: if I'm a women, and I was being objectified, I would prefer to be objectified by women rather than men. I'd prefer to be in a career and a position that allows me to control how I am perceived, if I am going to be objectified regardless of which career I chose.
The current power structure favors men, and it's more the responsibility of those with power to make positive change. It doesn't mean women aren't responsible for their own well-being, but it means that men are more responsible for any detriment we cause when power is in our favor.