Why is resisting an illegal arrest a crime?

It’s total BS. Why should police have more rights? Then when it’s taken to court and they say the arrest was illegal but the garbage resist arrest charge stands 🤬? Total bullshit. The thing is winning a lawsuit never fixes the problem. Then they say comply or die. Well life’s nothing without freedom. No matter what path others take, I follow Patrick Henry’s quote (Give me liberty or give me death). I’d rather die fighting for freedom than live with tyranny.
Updates
4 mo
I’m not getting very good answers. All BS.
Updates
4 mo
As it is, I want to protect myself from false accusations and arrests.
Why is resisting an illegal arrest a crime?
Post Opinion