Fair enough, but you literally gave zero evidence for your claim that "Other countries, those with a somewhat decent social safety net, do not have such a big problem with homelessness".
You should at least consider the possibility that what you said isn't really true and just fits your preconceived notion of a heartless US society versus a supposedly more social environment in Europe.