'...Visitors may wonder why one of the wealthiest cities in the world canât cough up enough money to alleviate homelessness, but, in fact, San Francisco spends tremendous amounts of money on the problem. The city is allocating a record $241 million this fiscal year on homeless services, $84 million more than when Mayor Ed Lee took office in January 2011.