Enacting strict laws by a leader can indeed reduce crime in his country. However, its effectiveness depends on a number of factors, including law enforcement policies, fairness in the legal system, and other social and economic factors. Although providing strict punishments can be one way to reduce crime, attention is also needed to prevent crime, improve socio-economic conditions, and increase legal awareness in society.
Law enforcements are the ones that will implement what's written on the law. In those countries that have rampant crimes, it's obviously that the law enforcement are even the ones that breaks the laws. And that's why citizens aren't obedient to them and much worse, they're being fed by the organized crime groups there that are taking territories to territories and they're also becoming a private army for those groups. Well, I can't speak a lot of it when I'm living in a good area where everything is fine although I can feel the price increase of every goods.