Do you or does anyone you know live in government housing? If American, probably not. Government's only a role is regulation, not in providing anything. Even its only purpose of regulation can be faulty as it can artificially constrain supply of certain items like housing, or access to new medications, items etc. Every other developed nation providing universal healthcare also requires a heavy tax burden on the populace. Ive seen Germans quote on the order of half their paycheck to pay for all the free goodies. A major part of the reason why government regulated healthcare is so expensive is due to barriers towards new hospitals. Current hospitals must agree that there is need for another hospital. When your competition has to approve of you existing, you are screwed.
Free market needs room to work, stifling regulation is why the housing supply is woefully inadequate and government built housing will never match the speed and efficiency of the free market. Neither the speed nor quality nor price. In NYC they built a 3 million dollar public restroom, private sector $300,000 and much nicer and well maintained. One example of just how fast is the free market is Elon Musk, notice how his rocket company has taken off so quickly and so efficiently compared to the multi decade long wait at NASA.
If free market isn't working its probably due to some lousy government regulations getting in the way, on purpose, to create false support for a particular ism that always fails.