One of my last teams was like that, a woman with half my experience got hired during Covid and somehow kept getting promoted until she was running multiple teams. We argued frequently because she was very clearly out of her depth and had no business being a lead engineer (and then manager of engineers) yet. Absolutely obnoxious experience.