This is known as the "Peter Principle"- any hierarchy will eventually promote someone to a position they can't perform well in, under the (flawed) logic of "if they're good at X then they must be good at Y"....but it is kind of a basic drawback to corporate structure that almost everyone gets promoted at least one job above their competency level.