Cites this verse
I answer that, The word "continence" is taken by various people in two ways. For some understand continence to denote abstention from all venereal pleasure: thus the Apostle joins continence to chastity (Gal. 5:23). In this sense perfect continence is virginity in the first place, and widowhood in the second. Wherefore the same applies to continence understood thus, as to virginity which we have stated above (Question [152], Article [3]) to be a virtue. Others, however, understand continence as signifying that whereby a man resists evil desires, which in him are vehement. In this sense the Philosopher takes continence (Ethic. vii, 7), and thus also it is used in the Conferences of the Fathers (Collat. xii, 10,11). In this way continence has something of the nature of a virtue, in so far, to wit, as the reason stands firm in opposition to the passions, lest it be led astray by them: yet it does not attain to the perfect nature of a moral virtue, by which even the sensitive appetite is subject to reason so that vehement passions contrary to reason do not arise in the sensitive appetite. Hence the Philosopher says (Ethic. iv, 9) that "continence is not a virtue but a mixture," inasmuch as it has something of virtue, and somewhat falls short of virtue.
Summa Theologiae II-II, q. 155, a. 1: Whether continence is a virtue? I answer that (tr. Fathers of the English Dominican Province)