When an incompetent man gets promoted it's all "Peter Principle, brogrammer, Dilbert joke, hurr durr."
When an incompetent woman gets promoted, it's because she's a woman.
When an incompetent woman gets promoted, it's because she's a woman.
All kinds of idiots get promoted above their capacities. Women aren't special in that regard.