Policing is a maladaptive and repurposed organ. It has its origins and history in the slave patrol and before that, palace guards.
It’s a bit like trying to digest with a spleen. Wrong tool for the job. And now we have a spleen that doesnt really digest very well and also is extremely prone to cancer.