If that’s your issue, I completely agree with you. That’s why, in my comment, I actively encouraged people to do vocational training (boot camps) or teach themselves. If you want to learn to program, those are much better ways than to do a CS degree.
That doesn’t make CS worthless. It’s just different. The CS education provided by a university isn’t meant to train you to be a programmer. It’s broader than that. And it’s also, in some ways, deeper because it dives into CS topics that you won’t ever need for work.
I think that’s totally fine. The vocational and university systems have coexisted for a long time and serve different purposes. Pushing people into the university system that are better served by vocational training is an issue. But throwing away the university or pressing it to become purely vocational training is, I think, both unnecessary and deeply harmful to society.