In the Sermon on the Mount, the Lord recalls the commandment, "You shall not kill," (Mt 5:21) and adds to it the proscription of anger, hatred, and vengeance. Going further, Christ asks his disciples to turn the other cheek, to love their enemies (Cf. Mt 5:22-39; 5:44). He did not defend himself and told Peter to leave his sword in its sheath (Cf. Mt 26:52).
CCC 2266
Legitimate defense
The legitimate defense of persons and societies is not an exception to the prohibition against the murder of the innocent that constitutes intentional killing. "The act of self-defense can have a double effect: the preservation of one's own life; and the killing of the aggressor.... the one is intended, the other is not." (St. Thomas Aquinas, SThSumma Theologiae (St. Thomas Aquinas) II-II, 64, 7, corp. art.)
Love toward oneself remains a fundamental principle of morality. Therefore it is legitimate to insist on respect for one's own right to life. Someone who defends his life is not guilty of murder even if he is forced to deal his aggressor a lethal blow:
If a man in self-defense uses more than necessary violence, it will be unlawful: whereas if he repels force with moderation, his defense will be lawful.... Nor is it necessary for salvation that a man omit the act of moderate self-defense to avoid killing the other man, since one is bound to take more care of one's own life than of another's.
Legitimate defense can be not only a right but a grave duty for someone responsible for another's life. Preserving the common good requires rendering the unjust aggressor unable to inflict harm. To this end, those holding legitimate authority have the right to repel by armed force aggressors against the civil community entrusted to their charge (St. Thomas Aquinas, SThSumma Theologiae (St. Thomas Aquinas) II-II, 64, 7, corp. art.).
Capital Punishment
The State's effort to contain the spread of behaviors injurious to human rights and the fundamental rules of civil coexistence corresponds to the requirement of watching over the common good. Legitimate public authority has the right and duty to inflict penalties commensurate with the gravity of the crime. the primary scope of the penalty is to redress the disorder caused by the offense. When his punishment is voluntarily accepted by the offender, it takes on the value of expiation. Moreover, punishment, in addition to preserving public order and the safety of persons, has a medicinal scope: as far as possible it should contribute to the correction of the offender (Cf. Lk 23:40-43).
Recourse to the death penalty on the part of legitimate authority, following a fair trial, was long considered an appropriate response to the gravity of certain crimes and an acceptable, albeit extreme, means of safeguarding the common good.
Today, however, there is an increasing awareness that the dignity of the person is not lost even after the commission of very serious crimes. In addition, a new understanding has emerged of the significance of penal sanctions imposed by the state. Lastly, more effective systems of detention have been developed, which ensure the due protection of citizens but, at the same time, do not definitively deprive the guilty of the possibility of redemption.
Consequently, the Church teaches, in the light of the Gospel, that “the death penalty is inadmissible because it is an attack on the inviolability and dignity of the person” (Francis, Address to Participants in the Meeting organized by the Pontifical Council for the Promotion of the New Evangelization, 11 October 2017) and she works with determination for its abolition worldwide.
Intentional homicide
The fifth commandment forbids direct and intentional killing as gravely sinful. the murderer and those who cooperate voluntarily in murder commit a sin that cries out to heaven for vengeance (Cf. Gen 4:10).
Infanticide (Cf. GSGaudium et spes 51 # 3), fratricide, parricide, and the murder of a spouse are especially grave crimes by reason of the natural bonds which they break. Concern for eugenics or public health cannot justify any murder, even if commanded by public authority.
The fifth commandment forbids doing anything with the intention of indirectly bringing about a person's death. the moral law prohibits exposing someone to mortal danger without grave reason, as well as refusing assistance to a person in danger.
The acceptance by human society of murderous famines, without efforts to remedy them, is a scandalous injustice and a grave offense. Those whose usurious and avaricious dealings lead to the hunger and death of their brethren in the human family indirectly commit homicide, which is imputable to them (Cf. Am 8:4-10).
Unintentional killing is not morally imputable. But one is not exonerated from grave offense if, without proportionate reasons, he has acted in a way that brings about someone's death, even without the intention to do so.
Abortion
Human life must be respected and protected absolutely from the moment of conception.
From the first moment of his existence, a human being must be recognized as having the rights of a person - among which is the inviolable right of every innocent being to life (Cf. CDFCongregation for the Doctrine of the Faith, Donum vitae I, 1).
Before I formed you in the womb I knew you, and before you were born I consecrated you (Jer 1:5; cf. Job 10:8-12; Ps 22:10-11).
My frame was not hidden from you, when I was being made in secret, intricately wrought in the depths of the earth (Ps 139:15).