30 But any person who sins deliberately, whether he is a native or a foreigner, is guilty of treating the Lord with contempt, and he shall be put to death,
31 because he has rejected what the Lord said and has deliberately broken one of his commands. He is responsible for his own death.
32 Once, while the Israelites were still in the wilderness, a man was found gathering firewood on the Sabbath.
33 He was taken to Moses, Aaron, and the whole community,
34 and was put under guard, because it was not clear what should be done with him.
35 Then the Lord said to Moses, “The man must be put to death; the whole community is to stone him to death outside the camp.”
36 So the whole community took him outside the camp and stoned him to death, as the Lord had commanded.