On the contrary, it's those who can't write code that become managers. They're not even good enough to ascend to the truly parasitic executive class.
And those who can't manage people become managers of managers.