Because housing has a long lasting effect on improved health. There are a number of studies that have drawn this conclusion.
https://www.theatlantic.com/politics/archive/2016/01/how-hea...
https://www.theatlantic.com/politics/archive/2016/01/how-hea...