I grew up in Santa Cruz with a large homeless population. From interacting with them, they had to deal with full blown incidents/abuse/violence way more often than the average person had to deal with from them.
The problem is not homeless peoples' reaction to the world. The problem is societies place for them.
Homeless people have always existed and likely always will. The problem is in the last 45 years we've built a brittle, zero slack society. We've optimized around a particular vision of middleclass life while steadily eliminating the margins that once allowed vulnerable people, those prone to homelessness, and increasingly young adults who just need a place to start from, to exist on the periphery without being put in constant crisis. We removed the pathways that allowed unstable people to find enough footing to maintain a place to live.
We've embraced an economic model that requires continual growth and ever more housing. We've destroyed via economics and regulation many of the housing options that once existed for the very poor such as boarding houses, residential hotels, man camps. Demanding that everyone fit into a middle class model at all stages in life is cruel. It's even crueler when we act surprised or judgmental toward people whom society has systematically left with nowhere to go.
In AI speak 'we optimized away the edge cases and then blamed the people who (always had/always will) lived in them'.
Imagine regulating that everyone must eat a meal individually prepared in an industrial kitchen, with a mandated recipe from the community (any missing ingredients and the meal can't be cooked) and approved by inspectors post cooking, and capped the total meal kitchen capacity. Not everyone would be able to afford that. For peoples' largest expense (housing) that is what we have done and today 50% of young adult Americans are living at home with parents because that is our current housing model. What happens to young adults that don't have parents to live with? In part, homelessness.