FWIW, I changed my college major in my junior year when I realized that my odds of having to fight gender discrimination on a daily basis (for being female in a male-dominated field) weren't worth the intrinsic benefits of the job. I decided that I was not willing, at 21, to be the one who fought that battle for change each day. Fortunately for that field, other women did and the balance has evened out.
I share this to say that the decisions are real. Everyone gets to decide for themselves what they are willing to put up with, but we should be working toward removing such issues wherever we can. Work is difficult enough without that ridiculousness.