I answer that, Every vice is denominated from a deficiency of virtue, because deficiency is more opposed to virtue: thus illiberality is more opposed to liberality than prodigality is.
 Thomas Aquinas, Summa Theologica (1274). copy citation

add
Author Thomas Aquinas
Source Summa Theologica
Topic vice virtue
Date 1274
Language English
Reference
Note Translated by Fathers of the English Dominican Province
Weblink http://www.gutenberg.org/cache/epub/18755/pg18755-images.html

Context

“3: Further, Seneca writes (De Benef. iii) : "It is ungrateful to take no notice of a kindness, it is ungrateful not to repay one, but it is the height of ingratitude to forget it." Now these do not seem to belong to the same species of sin. Therefore ingratitude is not a special sin.
On the contrary, Ingratitude is opposed to gratitude or thankfulness, which is a special virtue. Therefore it is a special sin.
I answer that, Every vice is denominated from a deficiency of virtue, because deficiency is more opposed to virtue: thus illiberality is more opposed to liberality than prodigality is. Now a vice may be opposed to the virtue of gratitude by way of excess, for instance if one were to show gratitude for things for which gratitude is not due, or sooner than it is due, as stated above (Q. 106, A. 4).” source