In many public school systems, the unions have fought against teacher accountability, standards, etc. This mirrors the same strategy that is occurring in police departments. Educating students is an honorable profession, but it may be impossible to do in a public school. Enforcing the law fairly and efficiently is an honorable profession in a democracy, but may be impossible in a public police agency.
Instead of raising police officer standards, politicians have substituted feel good programs. Instead of focusing productivity on arrests and making cases, which is the role of police in the criminal justice system, politicians have substituted programs and philosophies that run long enough to get themselves re-elected. These same politicians react with surprise when their agencies are found to be corrupt. The river flows from the source of the water.