Deuteronomy 21:20-21

20 And they shall say to the elders of his city, This our son is stubborn and rebellious, he will not obey our voice; he is a glutton, and a drunkard.

21 And all the men of his city shall stone him with stones, that he die: so shall you put evil away from among you; and all Israel shall hear, and fear.