Worse is the homeless situation in third world countries where even less services are available. Being homeless in a Western nation is far different than anywhere else. It may be exaggerated in SF and LA simply because of two reasons, climate and more support for those in need. So the city may actually being doing a good job but is simply attracting more people because they are
tl;dr do not for a moment think that homelessness isn't as bad issue elsewhere, let alone countries where the US is equal to economically.