The San Francisco Department of Homelessness and Supportive Housing had a 2022-2023 budget of $672 million dollars. This does not include EMT and police services. It's just what they earmark for homelessness.
That's roughly $86,000 per person they spend on getting them housing, and still failing at it. The average rent for an apartment in SF is $3500 a month, or $42,000 per year. They're spending twice as much as they would if they just got apartments for people.