The definition of justice is in the golden rule; the result of justice is the power of truth.
The golden rule is, "Do unto others as you would have them do unto you" (Mat 7:12).
People define what justice should be for others by what they demand for themselves; and they define what should be done to themselves by what they do to others.
Justice is the result which truth produces. Truth is the most significant and powerful force in the universe. It's the only force which corrupters cannot defeat. The reason why is because it never changes. No one can change it through subjective influence. Also, it is the size of the universe, because it is a representation of all unified reality which makes up lifespiritual and material.
So how does the power of truth create the force of justice? Piddling humans can only muddle around in the subject a little bit, so that is what I'll do. Conceptualize a geodesic dome protecting people from a perpetual hail storm. It's thrown up hurriedly, and half of the braces are in the wrong place. A weakness is located, and a brace is corrected there. Then another weakness is located, and another brace is corrected. Eventually all weakness are exposed and all braces are correctly replaced. Then the dome has its maximum strength. Truth and justice always evolve forward in that manner.
Whenever a sin or injustice is perpetrated, a counterforce of truth and justice builds up against it until the injustice is subdued. This process is automatic and can never be defied. Corrupters always assume that they can come up with a new and better god who can defy truth and justice, but it never happens.
Justice and morality are synonyms, except that they are applied to slightly different areas. Morality applies to the personal origins of a standard, and justice applies to the end result. Morality is the standard that sustains life, and justice is the result of life being sustained. Unified reality is life, and truth is the communicated representation of unified reality.
But that mumbo jumbo is too abstract for applications. Humans always look for something more tangible in the subject. They omit the foundation in working on the roof. So having the foundation poured and up to specs, let's work toward the roof.
People define what should be done to themselves by what they do to others. This may look like "an eye for an eye, and a tooth for a tooth," which Christ admonished against. Instead, he said to do unto others as you would have them do unto your (Mat 7:12). So we need some more detailed analysis.
Sin always requires more than one standard, because no one can apply the sin standard broadly, and certainly not to themselves and their friends. The multiple standard is called hypocrisy or duplicity. It creates a good test of where sin or injustice lies. Which of a corrupter's standards is justice? More or less, the one he applies to himself, at least in regard to the dichotomy of a particular incident of injustice. Certainly, there is no justice to the wanton waist of corrupters. That's because there are victims who pay the price. If there were no victims, there would be no injustice.
Corrupters wash their own hands while promoting injustice through "see no evil, speak no evil, do no evil," which is a form of nihilism. Persons who promote and rationalize corruption do more harm than the actual perpetrators, because they extend the corruption infinitely. If there is a rationale for it, there is no reason for it to ever end.
So what is wrong with an eye for an eye and a tooth for a tooth? Two major problems that jump out of that slogan are that no one ever limits the eye to the eye or tooth to the tooth, and the first injustice is never corrected by a similar force. Since that fact is so obvious, the eyes are never limited to the eyes, or teeth to teeth.
There is no real undoing of injustice, and therefore promoting life requires absorbing injustice and preventing it from getting worse. The persons who absorb injustice are more inclined to prevent further injustices. The fixers through counterforce just create more reason for more injustice.
This philosophy is often interpreted to require total pacifism, but that view ignores the requirement to prevent further injustice, which sometimes involves police force. To allow people to be victimized for philosophical reasons is another injustice.
Another thing that is often not recognized is the need to use trivial and symbolic forces as a method of communicating with perpetrators of injustice. Corrupters do not hear realities, they only hear forces. This is because corruption immerses them in a medium of forces which is in conflict with the medium of realities. So forces need to be created as a method of communicating the concerns of the victims.
Otherwise, force is the basis of sin, because forces always destroy realities. How does a god like me know that when nobody else knows it? Because there is no other way to define force besides that which destroys realities. Yet forces are easy to observe, because the destroyed realities and consequences are far reaching.
Because of these principles, corrupt persons exist in a medium of forces, while moral persons exist in a medium of realities. Realities define, create and sustain life. Forces destroy those realities, which is the basis of sin. (Sin is that which destroys life.)
Since every force results in a counterforce building up against it until the force is subdued, the perpetrators of corruption get rapidly overwhelmed by a barrage of forces and counterforces which define their existence.