Courts have as much to do with justice as HR departments. Both exist only to protect the higher-ups. It's not about protecting people; it's about protecting power and those who wield it.
There _is_ a slightly looser coupling than an HR department, but the judges are still appointed and confirmed by politicians with pretty clear material interests. It's not so much a case of being "paid to rule the right way" as being chosen _because_ of an inclination to rule the right way
Independent in operation, but not able to perform their own hiring. The temptation to appoint sycophantic justices who have espoused opinions in line with the dominant party is high.
The government consists of three independent branches of which one is the judiciary. You can’t compare this to a company which is basically a dictatorship.
I am not sure why you are being down voted, this is a perfectly accurate statement - and if viewed from a democratic perspectives, corporates are very dictatorial and mafia-like