Leviticus 24:12-23 - An Example Of Just And Fair Punishment
12 And they put him in custody, that the mind of the LORD might be shown them.
13 And the LORD spoke unto Moses, saying, 14 Bring forth him that has cursed outside the camp; and let all that heard him lay their hands upon his head, and let all the congregation stone him. 15 And you shall speak unto the children of Israel, saying, Whosoever curses his God shall bear his sin. 16 And he that blasphemes the name of the LORD, he shall surely be put to death, and all the congregation shall certainly stone him: as well the stranger, as he that is born in the land, when he blasphemes the name of the LORD, shall be put to death.
17 And he that kills any man shall surely be put to death. 18 And he that kills an animal shall make it good; animal for animal. 19 And if a man causes a disfigurement in his neighbor; as he has done, so shall it be done to him; 20 Fracture for fracture, eye for eye, tooth for tooth: as he has caused a disfigurement in a man, so shall it be done to him again. 21 And he that kills an animal, he shall restore it: and he that kills a man, he shall be put to death. 22 You shall have one manner of law, as well for the stranger, as for one of your own country: for I am the LORD your God.
23 And Moses spoke to the children of Israel, that they should bring forth him that had cursed out of the camp, and stone him with stones. And the children of Israel did as the LORD commanded Moses.