Deuteronomy 21:18-21 NLT

18 “Suppose a man has a stubborn and rebellious son who will not obey his father or mother, even though they discipline him.
19 In such a case, the father and mother must take the son to the elders as they hold court at the town gate.
20 The parents must say to the elders, ‘This son of ours is stubborn and rebellious and refuses to obey. He is a glutton and a drunkard.’
21 Then all the men of his town must stone him to death. In this way, you will purge this evil from among you, and all Israel will hear about it and be afraid.