You can't eat housing. Yes instead of basic income or our current social services we could just build a lot of homes.
But why would you even build homes in the first place. Do you think Salt Lake City in 2005 with 2000+ chronically homeless people didn't have at least 2000 homes on the market?