SF is 6.9 per 100K -> pretty high... higher than any city in Europe or Asia not currently with an active war... (On those continents, only Ukraine, Iraq, and Afghanistan are more dangerous than SF)
Not to defend SF but there are about 30 US cities with a higher homocide rate, that don't get nearly as much attention. SF is absolutely overrun by homeless though.
https://en.wikipedia.org/wiki/List_of_cities_by_homicide_rat... excluding those at war.