Government also developed or funded: The Internet, fracking, most academic research ... and the educations of everybody reading this, to at least some extent.
What's amazing is that we actually have to remind people of this. Every large, powerful, cohesive society in history has had a centralized state of some sort. Societies that don't tend to get conquered by armies ranging from bandits to systematic invaders, or to get balkanized into wasteful little feudal domains.