Are you suggesting that I’m racisss against women?
There are such things as male prostitutes.
No. I am stating that your comment was contemptuous of women officials, even though they are doing jobs men have done and failed at. I am certain that you would not immediately call a man sexually immoral if he failed as a public official. It's not racist, it's down and dirty prejudice against women.