My incompetent manager got promoted because higher level people on the team left.
It's a viable career strategy. It's hard to hire, so if you stick around you'll have more responsibility fall into your lap.
The other thing I notice is that he's great at kissing butt.
As an aside, my advice to people stuck under a crappy manager is to get out ASAP. You can even switch teams and be under the same skip manager.