Most cops aren't properly trained to shoot a gun. Some have 1 training session per year and they have to hit 70% on a target 3 yards away. Most don't seem to know how to react in a confrontation or high-stress situation.
The system is flawed but people have personal responsibility too. You can't absolve someone of criminal acts by saying oh it's someone else's fault.