Housing and homelessness drive quality of life to the lowest levels in years