San Fransisco has seen very strong GDP growth, nearly doubling in the last 12 years. This (and other factors) have caused house prices to rocket and caused greater income inequality. I don't know the stats but this often causes more homelessness and petty crime e.g. burglary.
Solutions would include building more affordable housing, increasing wages and more funding for public services via taxes on the new wealth generated by GDP growth.
However, thanks to brainded "taxes are theft" ideology. these problems won't be fixed and "Shithole 3rd World Rich America" will persist.
https://www.statista.com/statistics/183843/gdp-of-the-san-francisco-bay-area/