Everything bends to power, by definition. And laws can’t be impartial because they’re not based in hard science: terms like “murder”, “assault”, “theft”, etc. are ambiguous thus up to interpretation (e.g. is a scam theft? If so, what defines a scam? If “lying”, what’s the difference from “misleading”, or if there’s no difference, what defines “misleading”…)
My best idea for a solution is better education, so people don’t make bad laws then badly enforce them.
Right problem, wrong solution. You can't build something that doesn't bend to power, by definition. You have to take away the power.