The perversion of the judiciary is perhaps the most lethal accomplishment of the Leftist march toward police state.
I think the perversion of church is more important ...
But to agree with your point, the judiciary is one facet of the legal industry, which overlaps in large part with the legislation and rent seeking industries. It's not just the judges that are screwing us, it is also the lawyers (I have a JD, so speaking from a bit of inside awareness), the regulatory "bar" institutions, prosecutors ... and legislators driven by lawyer lobbyists. Maybe doctors are more arrogant, I don;t know. But the legal profession fancies itself to be masters of the universe.
Basic education could put lawyers, propagandists (aka journalists) in their place, but the ability to reason and to value personal independence has to be instilled at a young age. Educators are a damaging lot too - they prey on human desire to be part of the pack, which stifles independent thought.
Law is a tool. It should not be the master.