I'm glad you acknowledge the problem, but I think you're understanding it through a narrow lens yourself: there are many cities worldwide with the the same levels of homeslessness as San Francisco (or higher), none are as filthy. Hell even in the US Portland has methheads everywhere: they don't shit on the street. SF has a unique problem.
Your claims about for profit prisons may be true, but they don't change the fact that San Francisco is uniquely filthy.
Your claims about for profit prisons may be true, but they don't change the fact that San Francisco is uniquely filthy.