Thomas Aquinas,
Summa Theologiae — Question 79 - OF THE QUASI-INTEGRAL PARTS OF JUSTICE…
“ The reason why these two are reckoned parts of justice under a special aspect of good and evil, while they are not reckoned parts of any other moral virtue, is that the other moral virtues are concerned with the passions wherein to do good is to observe the mean, which is the same as to avoid the extremes as evils: so that doing good and avoiding evil come to the same, with regard to the other virtues. On the other hand justice is concerned with operations and external things, wherein to establish equality is one thing, and not to disturb the equality established is another. ”
