A few generations of really focused, quality education would help a lot more. Until then, I'm afraid it's a bit of a mess.
You really need to fix the basic underlying economic issues, so that you don't have kids coming to school hungry, and you don't have the best and brightest of the community fleeing so they can find work.
The problem is that public education is public and so it runs into various forms of ideological resistance on that basis. Worse, the power of local districts to shape educational policy leads to predictable deficits, often also driven by ideology/politics.
We have the money, we just choose to spend it on healthcare inflation, and weapons to sell. We don't see an immediate profit in education, so it's sidelined or privatized. We are shortsighted idiots, as a species.