Deuteronomy 21:20-21
21:20 They must declare to the elders of his city, “Our son is stubborn and rebellious and pays no attention to what we say – he is a glutton and drunkard.”
21:21 Then all the men of his city must stone him to death. In this way you will purge out wickedness from among you, and all Israel will hear about it and be afraid.