So what if all someone wants to do is not work and get high all day? That still doesn't mean they deserve to be homeless. They're human beings for fuck's sake!
The solution is simple: give them housing and ensure that all of their basic needs are met. I will never understand the mentality of wanting to deprive people of the essentials, just because they refuse to participate in society. Seriously, what the fuck!? Where's your empathy? Everyone deserves housing. Full stop.