Generally, homelessness is connected to mental illness.  A roof over the head with the support workers to keep the ill on meds keeps them out of the revolving door of ER visits (with cops in tow usually) and reduces in patient admissions.  This is not about renters or those who are sane who choose to live on the street (which is a small number compared to those who are ill)