The entire nation of Japan (population 130m) has half the total number of homeless people as the city of San Francisco (population 1m).
Essentially all Japanese people have health insurance, while 30m Americans have none and many more barely have coverage.
Maybe they are on to something over there?