It really depends on the region and city, the US educational system has zero consistency across the nation. It also varies considerably by income, where rich school districts have educational standards above European levels, and where poor districts have standards on par with Latin America or even Africa.
It's not that we don't produce educated people, it's we don't consistently produce educated people across the board and your location and income is a huge factor in your future success.
Those living in West Virginia have almost no chance, and those living in California have much better opportunities. The US, like many countries, falls prey to sweeping generalizations that are at best partly true.
Some state schools in not well known areas of the country are excellent and very affordable (IU, Purdue, Case Western, Carnegie Mellon).