A frequent critique of those that want to solve the homeless problem by sending in the police to crack heads and send everyone to prison. The main goal here of course being to ensure that the homeless "go away" somewhere out of view.
In reality most of the "crimes" that people are wringing their hands about are things like petty theft, drug use (a medical issue) and loitering which are so incredibly and hilariously minor that any judge will laugh in your face at the notion of sending one to prison for such abuses as this would obviously be a cruel and unusual punishment and not at all reasonable. The legal system will never send such offenders to prison.
It never occurs to those venturing mass imprisonment of the homeless that um, simply building housing for the homeless is a dramatically more affordable solution.
Therein lies the answer to the posed question:
> How can a place brimming with resources and good intentions fail so flagrantly to meet the basic needs of the population?
Despite our incredible wealth we simply do not provide in any way reasonable incomes and housing for those that are (for many reasons) unable to work, and so of course the problem festers. Why would we expect any change to magically happen?
In my home town of Vancouver BC, which has very similar chronic homelessness problems as SF, our minimum income assistance is $935 a month. Of this sum, the shelter allowance is $375. There is of course virtually nowhere in Vancouver where one can rent anything for $375 a month, thus ensuring systemic, state sponsored homelessness, poverty and misery and people camping outside in parks.
Why is there such poverty and homelessness? Well with $375 a month for housing good grief why wouldn't there be?