Have a look at the large Canadian cities: Toronto, Vancouver and Montreal. Or France, whose residents use the three letter acronym SDF to refer to the homeless.
Anecdotally, I've heard that a significant proportion of them have mental health issues for which they refuse treatment, free or not. It's also a problem of housing accessibility (interesting article: https://www.theguardian.com/housing-network/2017/mar/22/finl...) and support for transitioning to gainful employment.
Fact is, most people who are legally in Germany for >3 months are legible for Hartz 4: a free apartment, free heating and a few hundred Euro. And free healthcare.
Free apartment for a foreigner living in the country only over 3 months?! Dude, people on employment contract with over average income, staying in the country for years are having difficulties to find anything for rent in any major city, buying is out of question. Did you swallow an info brochure of German ministry for social affairs?
Well, there’s your problem.
If you are unemployed, there is hardly any reason to stay in a big city.
> Cancer won‘t bankrupt your family, you won‘t end on the street.
> That‘s free healthcare - dignity!
I guess the middle age male homeless sitting and sleeping all over the cities and transport venues damage your vision slightly. Don't even try the narrative "it's eastern Europeans, it's their own fault".