Hi largeli,
Here is the 6th commandment.
Exo 20:13 Thou shalt not kill (H7523). (KJV)
Exo 20:13 You shall not murder (H7523). (CLV)
Exo 20:13 Thou shalt not commit murder (H7523). (Rotherham)
Exo 20:13 `Thou dost not murder (H7523). (YLT)
H7523 râtsach - A primitive root; properly to dash in pieces, that is, kill (a human being), especially to murder: - put to death, kill, (man-) slay (-er), murder (-er).
There is a very big difference in the word where the KJV uses "kill" and what we see in the literal translations "murder." The OT contains numerous prohibitions against 'unlawful' killing - murder, but it DOES allows for 'justified' killing in the context of warfare, capital punishment, and self-defense.
1Sam 15:2 Thus saith the LORD of hosts, I remember that which Amalek did to Israel, how he laid wait for him in the way, when he came up from Egypt.
1Sam 15:3 Now go and smite (H5221) Amalek, and utterly destroy (H2763) all that they have, and spare them not; but slay (H4191) both man and woman, infant and suckling, ox and sheep, camel and a@@.
H5221 nâkâh - A primitive root; to strike (lightly or severely, literally or figuratively): - beat, cast forth, clap, give [wounds], X go forward, X indeed, kill, make [slaughter], murderer, punish, slaughter, slay (-er, -ing), smite (-r, -ing), strike, be stricken, (give) stripes, X surely, wound.
H2763 châram - A primitive root; to seclude; specifically (by a ban) to devote to religious uses (especially destruction); physically and reflexively to be blunt as to the nose: - make accursed, consecrate, (utterly) destroy, devote, forfeit, have a flat nose, utterly (slay, make away).
H4191 mooth - A primitive root; to die (literally or figuratively); causatively to kill: - X at all, X crying, (be) dead (body, man, one), (put to, worthy of) death, destroy (-er), (cause to, be like to, must) die, kill, necro [-mancer], X must needs, slay, X surely, X very suddenly, X in [no] wise.
As you can see these are different words used in those places where the OT God commands the Israelites to kill/destroy all the inhabitants of the land (this is war) to cleanse it of paganism, than what is the 6th commandments "you shall not murder."
I might add that was the OT laws and now the elect are to obey the spirit of the law that Christ taught.
Mat 5:20 For I tell you, unless your righteousness exceeds that of the scribes and Pharisees, you will never enter the kingdom of heaven.
v. 21 "You have heard that it was said to those of old, 'You shall not murder; and whoever murders will be liable to judgment.'
v. 22 But I say to you that everyone who is angry with his brother will be liable to judgment; whoever insults his brother will be liable to the council; and whoever says, 'You fool!' will be liable to the hell of fire.
Hope this is helpful.
mercy, peace and love
Kat