I don't think anyone deserves to be homeless. Suitable shelter and domain should be a right.
Its a spectrum, like you say there are the minority who the media magnify and this informs our perceptions, and in this case obviously mine to a degree as I didn't even consider the reality of they once had a home with a dog and are now homeless.