The Commandment is "Thou shalt not murder"
The Almighty is good with righteous or morally justified killing.
Kill was a poor translation from the original.
Please do not interpret this post in any way as a flaming.
This bad translation is an obsession of mine.
And I agree with your observation.
CB^)