The fundament of justice in the Bible: But select capable men from all the people—men who fear God, trustworthy men who hate dishonest gain—and appoint them as officials. Exodus 18:21
The fear of God is the good soil on which the justice rests, if men do not fear God there is no possible justice among men.