Our legal system seems less concerned with righteous judgment than with providing a complex set of rules for a game that only a privileged few know how to play.
Financial clout seems to count much more than the rightness of one's case.
It may surprise us then to hear that one of the most impassioned phrases in Torah is about justice. Torah charged the judges of ancient Israel with establishing and maintaining righteousness among God's people, so that God would be honored. If the word righteousness is repeated, it must be to emphasize two different aspects of righteousness. Ancient commentators said the word was repeated in this context to show that to pursue righteousness in general, one must pursue a righteous court. This was a gift of righteousness that Abraham did not earn, but received from the Lord.