I'm actually, very clearly, referring to public transit and the realities of shared spaces that don't have behavioral enforcement, and, in most big cities, complete apathy and blindness to bad behavior.
Cities poll these things. Look up your local public transport polls, to see what others think. If you're in SF, for example, you wont be remotely surprised by the results [1].
[1] https://www.independentnews.com/news/regional_and_ca/bart-su...
And, you haven't said a word about even the possibility that good public healthcare, including mental healthcare funding, and a good social safety net vastly reduces those terribly inconvenient people in the streets with nowhere to go.
But in that case you'd have to blame the people in charge instead of the people.