And many others, your interpretation aside.
I don't own a Torah. I believe the intent was to stop all killings of all kinds for any reasons.
Muslims make all sorts of creative interpretations as well to justify killing.
I would think, that sooner or later, it will stop and the words finally heeded as the Lord intended.
That's no my "opinion," it is factual interpretation of Hebrew by someone who was born speaking it, BTW. In so far as the commandments were given by the Lord to Moses, they are the word of the Lord. Your belief does not change the facts. Jesus had relatively little to say on the matter, other than the woman caught in adultery; in fact, he gladly submitted to capital punishment himself. So argue away, but you can't quote Scripture and the Lord to back you up.
You believe incorrectly. Otherwise God would have been ordering Joshua to break His own commandment when He ordered him to kill the pagan Canaanite tribes to the last man, woman, and child when he led the Israelis into their new national homeland. In fact, throughout most of the OT God is recorded as ordering the killing of many people, including Jews who broke the Mosaic laws against such crimes as murder, incest, homosexual acts, bestiality, demon-worship, etc.
Capital punishment for certain crimes was instituted by God, according to the Apostle Paul in chapter 13 of his epistle to the Romans. Therefore it cannot be sin when carried out by the proper authority, i.e. a legitimately established government.