Then solve this problem.
The problem I constantly see with homelessness in America is that municipalities constantly half ass every attempt to fix it, and then throw up their hands and say "well that didn't work, I guess there's nothing we can do!" Building homeless shelters without making them safe places to be is the perfect example of half-assing. I mean ffs, it's in the name: shelter. A homeless shelter not being safe doesn't mean that homeless shelters don't work, it just means your execution was shit.