If school isn't delivering that, then yes, they are broken. But no-where in schooling is the requirement to deliver someone with "marketable skills".
There's nothing wrong with that. That's the base for learning "marketable skills". 12 years gives you a solid grounding in basics, and you start to get an idea of what you're maybe good at, or interested in, and then you get the opportunity to diversify, to take that basic learning to university or college and study one or two specific things, or get some kind of entry-level/junior position.
17 year olds don't need "marketable skills". They need encouragement, opportunity, and experience.
And anyway, fuck your "marketable skills". Knitting is not a marketable skill, but you know what, it shows skill, application, and dedication. Not everything learned in school is marketable, and there's nothing wrong with that and everything wrong with thinking otherwise.
But I'm CHOOSING what I want to learn. Or learning what's required to solve real world problems that matter to my success.
Schools are DICTATING what students learn, more often than not. And children will escape being controlled when possible.
The educational model is broken. It was broken when it was invented.