Crime is only one factor of safety, it’s just the one people are hyper-fixated because it’s scary.
Most other causes of violent death (car collisions, accidents, suicide, etc.) are much more common in rural areas. And these make up the vast majority of your risk of death.
If you look at illnesses and health in a broader context, the difference gets even bigger but those things aren’t usually considered aspects of “safety”.