I know the concept of “poverty is the root cause of crime”, but say you cant tackle it right away, or you already done everything you could and poverty is either resolved or already remedied to the fullest extent possible, and there are still bad people… now how do you keep a nighborhood safe? Do you envison having a militia doing patrols? Or perhaps robot sentries that never have to sleep?


The mistake here is thinking that different superficial characteristics would gain the trust of the public. State run police can be good or bad, depending on their accountability to the public they serve and the quality of governance systems in place and the collective good will of those most reponsible.
State run, citizens militia or robot army are inconsequential factors. They could all be good just as easily as they could all be absolutely horrific. Ending poverty doesn’t end crime either. Mental illness, crimes of passion, greed, jealousy and a lust for power make rich people do terrible things too.
There is a complex web of responsibilities in policing between various interest groups. Finding balance is difficult even if everyone shares the best intentions. Power and corruption go hand in hand without vigilance making it a nearly impossible job, so the most reliable indicators are accountability to the population being policed, high quality altruistic leadership and good governance systems including transparency and a functional media landscape.