I think you’re description is over broad- ‘society’ didn’t shape the police so much as landed gentry and slave owners did
One ‘fix’ would be for the police to be reflective of an actual democratic society and have civilian review as an integral part of policing