Well you've made an assertion that the there is more than enough money but not provided evidence. My understanding is that a lot of the homeless people in SF come from elsewhere so if that's true then a straight comparison of taxation might not be valid. But this is a very very big topic so I'll just point out that actually society is not taking care of the people who need it anywhere in the US or the western world. This is a choice that people make.