Here's an interesting Aquinas tidbit from an old discussion list:
Et sie exponit Glossa. Sed Apostolus videtur loqui de moralibus, quia subdit quod lex posita est propter peccata, et haec sunt praecepta moralia. Horum legitimus usus est ut homo non attribuat eis plus quam quod in eis continetur. Data est lex ut cognoscatur peccatum. Roman., vii, 7: Quia nisi lex diceret,non concupisces (quod dicitur in Decalogo) concupiscentiam nesciebam. Non est ergo in eis spec justificationis, sed insola fide. Roman., iii, 28: Arbitramur justificari hominem per fidem sine operibus legis.
"But the Apostle seems to be speaking about morals, because he adds that the law was set forth because of sin, and the law consists of moral precepts. The proper use of these precepts is that man not attribute to them more than what is contained in them. The law was given so that sin might be recognized. As Romans 7:7 says, "Unless the law were saying, 'Do not covet,' (which the Decalogue says), I would not have known about covetousness. In the precepts, therefore, there is no hope (spec=spes?) of justification, but only by faith. As Romans 3:28 says, "We conclude that a man is justified by faith without the works of the law."
Thomas Aquinas, "Epistola I Ad Timotheum", "Lectio III" in *Opera Omnia*, Volume 21: *Commentarii in Epistolam Ad Corinthios 1 In Caeteras Omnes Epistolas S. Pauli.* Paris: Apud Ludovicum Vives, Bibliopolam Editorem, 1876, page 456.
https://beggarsallreformation.blogspot.com/2013/01/aquinas-there-is-no-hope-of.html
Et sie exponit Glossa. Sed Apostolus videtur loqui de moralibus, quia subdit quod lex posita est propter peccata, et haec sunt praecepta moralia. Horum legitimus usus est ut homo non attribuat eis plus quam quod in eis continetur. Data est lex ut cognoscatur peccatum. Roman., vii, 7: Quia nisi lex diceret,non concupisces (quod dicitur in Decalogo) concupiscentiam nesciebam. Non est ergo in eis spec justificationis, sed insola fide. Roman., iii, 28: Arbitramur justificari hominem per fidem sine operibus legis.
"But the Apostle seems to be speaking about morals, because he adds that the law was set forth because of sin, and the law consists of moral precepts. The proper use of these precepts is that man not attribute to them more than what is contained in them. The law was given so that sin might be recognized. As Romans 7:7 says, "Unless the law were saying, 'Do not covet,' (which the Decalogue says), I would not have known about covetousness. In the precepts, therefore, there is no hope (spec=spes?) of justification, but only by faith. As Romans 3:28 says, "We conclude that a man is justified by faith without the works of the law."
Thomas Aquinas, "Epistola I Ad Timotheum", "Lectio III" in *Opera Omnia*, Volume 21: *Commentarii in Epistolam Ad Corinthios 1 In Caeteras Omnes Epistolas S. Pauli.* Paris: Apud Ludovicum Vives, Bibliopolam Editorem, 1876, page 456.
https://beggarsallreformation.blogspot.com/2013/01/aquinas-there-is-no-hope-of.html