We can surely agree that cheap wide good education has to be one of the policies necessary for that, yet it's quite ignored even in some rich countries.
The real goal of education is to teach people how to think. Logic, rhetoric, analysis, scientific method, how to identify logical fallacies, understanding statistics, falsifiable theories, analyzing history not only through secondary sources, but actively seeking out primary sources to corroborate secondary sources, so on and so forth.
A useful education for a healthy well-functioning society is about inquiry, not regurgitation.
I mean, if I were designing a system to reinforce inequality in districts and schools, local property taxes would be first on my list of policies.