The command in Hebrew Scriptures is “You shall not murder”. The word kill crept in when the Latin was translated into English. This is not the only place were a mistranslation changes the meaning of the text.
Use a new modem translation.