Leviticus 24:12-23 - An Example Of Just And Fair Punishment

12 They put him in custody until the will and command of the Lord might be made clear to them.

13 Then the Lord spoke to Moses, saying, 14 “Bring the one who has cursed [the Lord] outside the camp, and let all who heard him lay their hands on his head [as witnesses to his guilt]; then let all the congregation stone him. 15 You shall speak to the Israelites, saying, ‘Whoever curses his God will bear his sin [through his own death]. 16 Further, the one who blasphemes the name of the Lord shall most certainly be put to death; all the congregation shall stone him. The stranger as well as the native-born shall be put to death when he blasphemes the Name [of the Lord].

17 ‘If a man takes the life of any human being [unlawfully], he shall most certainly be put to death. 18 The one who kills an animal shall replace it, animal for animal. 19 If a man injures his neighbor (fellow citizen), whatever he has done shall be done to him: 20 fracture for fracture, eye for eye, tooth for tooth; just as he has injured a man, so shall the same be done to him. 21 The one who kills an animal shall replace it; but he who kills a human being [unlawfully] shall be put to death. 22 You shall have one standard of law for the stranger among you as well as for the native, for I am the Lord your God.’”

23 Then Moses spoke to the Israelites, and they brought the one who had cursed [the Lord] outside the camp and stoned him with stones. Thus the Israelites did just as the Lord had commanded Moses.