That's my point. It's a matter of perspective whether or not you find SF dirty. If you come from a cleaner place, you're going to feel like it's dirty. Berlin isn't much cleaner, and there is a homeless problem too (though likely different in cause), so you're not likely to go to SF and feel like the criticism others are passing is as bad as it sounds.