Those good years in American science and technology advancement, besides having then (not now) probably the economic system with the most freedom, happened IN SPITE of “education” being supplanted by government-friendly citizenry indoctrination.
Dewey, the “father of modern education” said that was more important than the other practical subjects.
Students from private schools ALWAYS beat out government schools’ pupils’ averages (even charter schools averages).
Religious private schools results ALWAYS beat out other private school averages.
Home schoolers averages ALWAYS beats out private and government school averages.
Here’s another little fact: Government schools’ results would be way worse if it were not for the fact that too many home-schooled move to government schools in the latter years of their education.