SF has higher violent crime rates than most other parts of California, which can be attributed to its far higher rates of relative poverty,
Also, I'm not even sure that SF has a higher violent crime rate than other cities to begin with: https://www.sfchronicle.com/projects/2022/fixing-san-francis...