This isn't a zero-sum game. More programmers equals more software projects in existence, better support for existing projects, more co-founders to choose from for your new startup, and an acceleration of human progress.
Oh, people do fail. They just withdraw, keep attending the course, and retake it for a grade the quarter after. As long as they get the subject eventually, it's all that matters, right?