This isn’t true.
The idea that cities must inherently have crime problems is a form of learned helplessness. You think they must have crime problems because it’s all you’ve ever experienced. Try visiting a city that has low crime, like Singapore or Tokyo.
Singapore's lower crime rate is achieved by having a nanny-state government run by an autocrat, with cruel, harsh punishments for fairly low-level offenses and little care for due process. If that's what is required to get us low crime, then I will reluctantly accept higher crime rates.
Tokyo is absolutely not a low-crime city. The Japanese authorities try to paint it as such, and deal with problems quietly. News outlets don't report on much of the crime that goes on; I'm not sure why, but a reasonable guess might be due to pressure from authorities. But I assure you there's plenty of crime (especially organized crime) to go around in Tokyo; it's just not very visible.
Japan also has a near-100% conviction rate, not because they're always right, but because they value clearing cases off their books more than ensuring justice is served. The US justice system is far from perfect, but I prefer what we have here over Japan's.
tldr; I lived in SF but now happily live in New York.
This doesn't excuse the crime in the Tenderloin, but when people talk about the SF crime problem being overblown, they mean to say that there is an expected level of crime in most cities, and SF's level of crime is no worse than many others, despite what some people would like to believe.
That doesn't mean the crime in the Tenderloin is ok! But it's important to put things in context, and decide if SF is doing better or worse than other comparable cities in dealing with crime. Stats seem to point to the idea that SF is doing ok in that regard. That doesn't mean they can't and shouldn't do better, but it does mean that the sky is not falling, and there's no reason for extreme panic over SF's crime rate.
As someone who has lived in moderate-to-high crime areas for more of my life than not, most people who express a fear of crime are even less willing to listen to data-informed analyses supplemented with first hand experience, often behaving as if they're worried it might be contagious.
tldr; I lived in SF but now happily live in New York.
It seems like it might be instructive to compare your current happiness with the rhetoric of Marjorie Taylor Greene who visited recently to show support for Donal Trump and followed up with an online tirade about how 'repulsive' she found NYC.