Capitalism fed and educated the American people only for the past 100 years.
Public primary education has been the order of the day for at least most of those 100 years. State colleges and universities opened the doors for many that had no other option. Much of the big iron and the original ARPAnet was built on the government dime both in industry and education giving a few of us access to opportunities denied to most in this country not to mention most of the world.
In the 1990s Moore’s Law made mass production of a range of technologies possible and those of us trained building things for the government were at the forefront of commercializing those technologies and many cashed out. Much of the world suddenly had access to what only us priests had and few of any culture including the US value any of it like we did and the lack of quality everywhere shows it. In the 1990s the federal government also cut back dramatically on R&D. It’s really only from around 2000 on that heavy computing and networking have been largely private sector endeavors and many of the standards were already set in stone giving us an advantage out of the gate.
As for food it’s been reported that 39% of net farm income came from the US government in 2020 and farm subsidies have been a thing for ages. Crop insurance is another government program.
So where is the US private sector today? Americans can’t even make saline (sterile salt water in a bag) which is having a significant impact in health care. We couldn’t produce enough formula for babies because of the toxic organisms living in the production systems no one bothered to clean. We had to sell our seaports to foreign operators because we didn’t know how to operate those profitably. Let’s just admit it, a lot of this is on us.