Most violence is a result of poor economic areas. People don't go around doing crimes if they are employed and able to provide for themselves.
I've lived and traveled significantly in many of the poorest parts of the world, most where I had no fear of violent crime befalling me. China, India, Egypt, Indonesia, wherever. All very poor places, all pretty safe. Other similarly poor areas were very risky. Kenya, DRC, Mexico and others tend to be higher risk.
In my opinion violent crime is fundamentally an ethical issue, not a material issue.