I used to live in the South Bay and go up to San Francisco and Oakland every other weekend. It was bad, but it seems to have completely gone to hell in the last decade.
I would not set foot there unless all of human existence depended on it.
I’ve wanted to leave SF for a few years as I don’t connect as well after having kids. It has slid but it is very easy to avoid the big problem areas and you get desensitized. But there is still lots to love about the city. It soul isn’t crushed yet.