By your reckoning, people wouldn't get sick if there were no hospitals. All modern countries employ affordable housing in some form of their social infrastructure.