The system is working as designed and as intended.
I think people need to rid themselves of this romantic notion that the government serves "the people" and cops in particular are supposed to protect the innocent. Both of them are ridiculously childish beliefs. The reality is much harsher. Adam Smith laid it out more than two centuries ago in his book Wealth of Nations:
"Civil government, so far as it is instituted for the security of property, is in reality instituted for the defense of the rich against the poor, or of those who have some property against those who have none at all."