Comment by int_19h
Wealthy countries could afford this even with proper housing, food etc (not fancy, but not tent/slop either). Even not so wealthy ones could afford something. You have to go back all the way to hunter/gatherer societies to have a situation where each person's productive labor only generates enough wealth to feed themselves. In any modern industrial society, the productivity is long past the point where each person produces enough to satisfy multiple people's needs, in aggregate. The only problem is that most of this generated wealth is then directed to satisfy the whims of the very few people at the top who get to collect economic rent from the rest of us.