The state is investing in social and affordable housing to help end homelessness