Deuteronomy 21:18-21

Thomson(i) 18 If any man hath a stubborn, and rebellious son, who hearkeneth not to the voice of his father, nor to the voice of his mother; and they have corrected him, and he will not hearken to them; 19 his father and his mother shall take him, and bring him out to the senate of his city, and to the gate of the place; 20 and they shall say to the men of their city, This our son is stubborn and rebellious; he hearkeneth not to our voice. He is devoted to revelling and drunkenness. 21 Thereupon the men of his city shall stone him with stones, and he shall be put to death. So thou shalt remove the wicked from among you; and the rest, who hear, will be struck with awe.