“Whoever takes a human life shall surely be put to death.
17. And he that killeth any man. We now proceed to the confirmation of the Sixth Commandment afforded by the Judicial Law; and first, the punishment of death is awarded to murderers. To “smite the life” See margin of A. V. is equivalent to wounding mortally, so that death ensues, as Moses more clearly explains himself in Exodus.
Evil manners, we say, beget good laws. We have here an account of the evil manners of a certain nameless mongrel Israelite, and the good laws occasioned thereby. I. The offender was the son of an Egyptian father and an Israelitish mother (Lev 24:10); his mother was of the tribe of Dan, Lev 24:11. Neither he nor his father is named, but his mother only, who was an Israelite.
Commenting on Leviticus 24:10-23
And he that killeth any man shall surely be put to death. With the sword, as the Targum of Jonathan adds; which restrains it to any man of the children of Israel, but wrongly; for the original law respects any man whatever, Gen 9:6; and so it does here; See Gill on Exo 21:12. .