Police are not themselves corrupt but rather a part of a system not made to serve you.
I hear a lot of Tumblr users hate police so much. I doubt that half of those I hear it from have had a bad experience with a police officer, but nonetheless it exists, and so I'll reiterate.
Police are expected to be perfect. If they aren't, it creates distrust in a community. Police were originally created to keep people in line; now they are expected to help you, too, beyond taking care of reported crimes. For anyone who's read Maximum Ride, the character Ari was an Eraser (a human who could transform into a wolf), but he was not born an Eraser; rather, he was turned into one after he was already born, and he still was given wings and other upgrades. This made him a bitter patchwork of organic parts, at the age of 8. And this is what the police remind me of.
Not all police are racist, transphobic or homophobic. I daresay that for the majority of police, just existing helps keep hate crimes at bay. They're not all corrupt, but it's only the ones who have failed that you hear about.
Fun fact: many Europeans dislike most Americans. This is because they fail to distinguish between the people and the government, ere they make fun of us and overall despise us. We can translate this example into policemen: many minorities hate police, because they fail to distinguish the very few bad ones from the good ones.
Police were created for a different society. One that was less open about minorities. They were not created to serve you, but still they do, and you still need them, too. I assert this and I will not be swayed. Imagine the following situation: there is a public massacre. The bystander effect essentially makes everyone run away like cowards. Police are your only guarantee that you will make it out alive, because not everyone carries a suitable weapon on them to eliminate the threat. Without police, all of society's worst will be let out.
Now, I did just call prisoners and criminals "society's worst", but I do not want you to read this and think that I don't know about those wrongfully imprisoned or jailed. That's another way, in my belief, that society's systems were not made to serve you. It fails to humanly discriminate between those who have committed crimes maliciously and those who have committed crimes in doing the right thing. Mangione, for example. Many still fail to recognize that he did something good (I stand by that Mangione pulled the trigger but I also stand by that it is constitutional for someone to kill a high up political figure for the greater good). Because just quickly after, healthcare services lowered prices immensely. Even the very police who benefitted from it didn't quite recognize it.
Compare Mangione to Nikolas Cruz. Mangione only killed one person; this person was responsible for US Healthcare, who was about to raise prices exponentially and cut quite a lot of care for quite a lot of people. However, Cruz killed 17 innocent students and injured 17 others. In addition he made everybody around him generally uncomfortable and was a horrible person. Cruz is facing 34 sentences of life imprisonment; however Mangione is facing the death penalty.
The government is not made to serve you. Police are simply a relic of a suppressive past. They still are people, whose jobs are archaic but still necessary.
Be a kingslayer. The Constitution says you should if you don't like the government. This is part of the reason why the Trump administration calls the Constitution "unconstitutional".