This reminded me about the Housing First program in Finland.
They considerably reduced their homelessness problem by simply giving homes to people that needed them: