Quoted word for word, in order of authority: the Church's councils, popes and catechisms first, then the Fathers, then later saints and Doctors, then Catholic commentators.
It is significant that in Holy Scripture no passage can be found enjoining or permitting suicide either in order to hasten our entry into immortality or to void or avoid temporal evils. God's command, "You shall not kill," is to be taken as forbidding self-destruction, especially as it does not add "your neighbor," as it does when it forbids false witness, "You shall not bear false witness against your neighbor."
I answer that, The Old Law contained some moral precepts; as is evident from Ex. 20:13,15: "Thou shalt not kill, Thou shalt not steal." This was reasonable: because, just as the principal intention of human law is to created friendship between man and man; so the chief intention of the Divine law is to establish man in friendship with God. Now since likeness is the reason of love, according to Ecclus. 13:19: "Every beast loveth its like"; there cannot possibly be any friendship of man to God, Who is supremely good, unless man become good: wherefore it is written (Lev. 19:2; 11:45): "You shall be holy, for I am holy." But the goodness of man is virtue, which "makes its possessor good" (Ethic. ii, 6). Therefore it was necessary for the Old Law to include precepts about acts of virtue: and these are the moral precepts of the Law.
Summa Theologiae I-II, q. 99, a. 2: Whether the Old Law contains moral precepts? I answer that (tr. Fathers of the English Dominican Province)
Catholic commentators
Fr. George Leo Haydock
Priest and commentator · 1774 to 1849
Explains this verse
Kill. These precepts are to be taken in their full extent, as prohibiting not only the ultimate act, but every thing which leads to it. Magistrates are authorized to inflict capital punishment. We are allowed also to defend ourselves against an unjust aggressor. But we must never intend to kill him. C. --- The laws will not condemn us, perhaps, if we do; but God sees the heart, and judges. A night thief may be slain, because we know not how far our own lives may be endangered. C. xxii. 2. H.
Haydock Catholic Bible Commentary (1859), note on Exodus 20:13
In the Catechism of the Catholic Church
The Catechism (1992) cites Exodus 20:13 in these paragraphs.
To cite this page: The Summa, “Exodus 20:13”, https://thesumma.org/read/bible/ot/exodus/20/13. Every quotation names its source; where each text comes from is listed on Sources and corrections.