This is correct. San Francisco, and the whole SF Bay Area, has a staggering housing shortage. People earning minimum wage cannot afford housing and must move to cheaper areas and lose their community relationships. So more of them turn to crime.
Here's a video on the topic: https://www.ted.com/talks/richard_wilkinson_how_economic_ine...