places like that end up full of urine-soaked drug addicts that are high on meth,
You’re putting all homeless into a box. Not all are homeless because they are addicts. Some are legitimately forgotten by the system and for different reasons lost job/domestic abuse/no fam/disability/health issue/financial issues. And even at that : addiction is also a symptom of a shit society. Not the same issue as what causes other homeless people but there can be more than one problem in a poorly designed system that comes up with the same result of being homeless.
Society built on capitalistic ideals for more than just survival as a goal has an extremely narrow scope for who it is interested in serving.