It's easy to paint with a broad brush "'the homeless' = bad". That is as casually discriminatory as being antisemitic and is offensive. Perhaps some empathy and nuance would help rather than condemning a group of people for the actions of individuals.
You can broadly say that many homeless people engage in anti-social behavior, and therefore homelessness is a problem we should be motivated to solve even if we have no empathy for the homeless people themselves
Us and them rhetorical nonsense. I was homeless. I didn't flash or piss on the floor indoors. Perhaps you're conflating homelessness for a lack of mental healthcare.