7 “You have prepared equity; You have wrought judgment and righteousness in Jacob.” For we too ought to have judgment, we ought to have righteousness; but He works in us judgment and righteousness, who created us in whom He might work them. How ought we too to have judgment and righteousness? You have judgment, when thou dost distinguish evil from good: and righteousness when you follow the good, and turnest aside from the evil. By distinguishing them, you have judgment; by doing, you have righteousness. “Eschew evil,” he says, “and do good; seek peace, and ensue it.” You should first have judgment, then righteousness. What judgment? That you may first judge what is evil, and what is good. And what righteousness? That you may shun evil, and do good. But this you will not gain from yourself; see what he has said, “You have wrought judgment and righteousness in Jacob.”
Source: The Enarrations, or Expositions, on the Psalms (New Advent)