So yeah, I think educating people about why they need to be educated is pretty key. That's really hard to do though, especially as our society hasn't figured out why and how we value education. I'm still waiting for someone to give me a good answer to say to the boy I was mentoring. I'm not sure there is one, myself.
Well, there's the answer people will pretend justifies the entire educational system: that learning for the sake of learning is an inherently good thing and we should encourage people to learn whatever they're interested in because society somehow indirectly benefits from people knowing more things. They will describe how pupils learn all sorts of ancillary skills like critical thinking that, while totally unconnected from the subject matter, somehow justify the inclusion of all sorts of things that even the kids know are useless.
One trouble with that line of thinking is the same one we've seen historically in the problems with Chinese and later British examinations for government service: there's no test that can't be gamed. The examinations theoretically selected for the skills to competently execute technically challenging tasks, but in practice, they selected for highly skilled essay writers first and competent people second, and so the top-scoring brackets were enriched in specialists at writing good essays rather than anything general enough to actually be useful to mandarins. It also insists on ranking students on a single spectrum to suit to desirability of jobs rather than a multidimensional spectrum that could start matching people to the jobs' requirements, but that is solvable independently.
The other trouble, and the one we tend not to talk about, is that education doesn't necessarily improve people. People will tout their "lifelong love of learning" as yet another way to pride themselves on their preferences rather than their accomplishments, but if all they're doing is absorbing knowledge because they want to, they can do that on their own. I've interviewed so many people like this whose "love of learning" has made them dilettantes who have learned the most fun and interesting tenth of what it would take to be useful in ten different jobs and dismissed the rest as an irrelevant detail beneath their notice,but I've never hired any of them -- and, indeed, the ones I know socially have had a similar experience, having failed their way out of any job involving any degree of skill until they end up cooking burgers or pushing a broom, their "love of learning" finding expression primarily in a truly indelible strain of ultracrepidarianism. There's nothing wrong with that, but we can get them there far more efficiently if we just hand them a spatula and a library card the first time they try to pretend their hobbies are impressive. As for highly skilled jobs, I'll take someone with a fear of failing over someone with a love of learning any day, because I know the first person actually paid attention to the boring bits. Nor is it worth pretending that generically better-educated citizens are somehow vaguely better for society, because there's nothing actually obligating them to remember their education beyond the bits that support whatever stupid position they've already decided to take.
So, if you want to fix education, start by taking out the liberal arts, less certain subsets of rhetoric. Start by revoking 501(c)3 status from any institution teaching humanities, and forbid all federal funding from the same. Make the cost of the arts department NIH and NSF funding and the tax deductibility of charitable donations to the institute at large, and higher education will rapidly reevaluate whether it really belongs. In the public schools, of course, teaching these subjects can simply be stopped by governmental fiat, and the resultant savings used to fund STEM to a more acceptable level; the requisite teaching of higher-level literacy can be formally folded into science classes, where it frankly belongs anyway. Kids need to know how to communicate technical data accurately, not how everyone and their hamster is Jesus in purgatory. If they want foreign languages, have a committee pare all the humanist frippery out of the vocabulary of Lojban and teach them that. All other efficiencies aside, it makes the inevitable question of "when will we ever use this" self-answering: they're either learning it to make use of it or learning how to deal with the arbitrary and meaningless bullshit that will define the entirety of their career, and they get to choose which.