4 But unless there were some difference between judgment and righteousness, we should not read in another Psalm, “Until righteousness turn again unto judgment.” The Scripture, indeed, loves to place these two words together; as, “Righteousness and judgment are the habitation of His seat;” and this, “He shall make your righteousness as clear as the light, and your judgment as the noon-day;” where there is apparently a repetition of the same sentiment. And perhaps on account of the resemblance of signification one may be put for the other, either judgment for righteousness, or righteousness for judgment: yet, if they be spoken of in their proper sense, I doubt not that there is some difference; viz. that he is said to keep judgment who judges rightly, but he to do righteousness who acts righteously. And I think that the verse, “Until righteousness turn again unto judgment,” may not absurdly be understood in this sense: that here also those are called blessed, who keep judgment in faith, and do righteousness in deed....
Source: The Enarrations, or Expositions, on the Psalms (New Advent)