That’s an article. The CCC is church teaching. The very first premise of the article is hyperbole and is a complete misrepresentation of what the truth is.
You often post lies.
JP II’s catechism is worthless.
And the Church fathers are not liars.
Catechism of the Council of Trent
The power of life and death is permitted to certain civil magistrates because theirs is the responsibility under law to punish the guilty and protect the innocent. Far from being guilty of breaking this commandment [Thy shall not kill], such an execution of justice is precisely an act of obedience to it. For the purpose of the law is to protect and foster human life. This purpose is fulfilled when the legitimate authority of the State is exercised by taking the guilty lives of those who have taken innocent lives.
In the Psalms we find a vindication of this right: Morning by morning I will destroy all the wicked in the land, cutting off all evildoers from the city of the Lord (Ps. 101:8).