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

12 Then they put him in custody {so that} [the matter] might be made clear to them in accordance with the mouth of Yahweh.

13 Then Yahweh spoke to Moses, saying, 14 "Bring the curser {outside the camp}, and all the hearers shall place their hands on his head, and the whole community shall stone him. 15 And you shall speak to the {Israelites}, saying, '{Any man} when he curses his God shall bear his sin. 16 And he who blasphemes Yahweh's name certainly shall be put to death; the whole community certainly shall stone him. As the alien, so the native shall be put to death at blaspheming his name.

17 " 'And when a man kills any human being, he certainly shall be put to death. 18 And {he who kills} a domestic animal must repay [for] it life in place of life. 19 And when a man {causes} a physical defect in his fellow citizen {according to} what he has done, so it shall be done to him: 20 fracture in place of fracture, eye in place of eye, tooth in place of tooth--{according to} [the] physical defect he {causes} to the person, likewise it shall be {caused} to him. 21 And a killer of a domestic animal must repay [for] it, and a killer of a human shall be put to death. 22 {You must have} one norm; as [for] the alien, so it must be [for] the native, because I [am] Yahweh your God.'"

23 Thus Moses spoke to the {Israelites}, and they brought the curser {outside the camp}, and they stoned him [with] stones, and the {Israelites} did [just] as Yahweh had commanded Moses.