San Pedro was a bit sketchy, but I had no problems there. Escondido was pretty upscale to me, and where my truck was broken into. Santa Rosa was in wine country, so I could barely afford to live there even 30 years ago. Never saw a homeless person there or in Escondido. And like you said, the same petty crimes could have happened anywhere, even in the imperfect but affordable place I live now. But there are other reasons for their shithole status.
Like I said, there are other reasons for their shithole status. Primarily taxes, which those alone make the state unaffordable for me. And the way you administer criminal justice, particularly in the larger cities and towns, in general just disgusts me. I won't even visit California until the second term of next republican governor, (it'll probably take the entire 1st term to just START to straighten that place out) and it's not just California. Illinois and New York are on the list too.