Then all the men of his city are to stone him to death. You must purge the evil from among you, and all Israel will hear and be afraid.
In context
19his father and mother are to take hold of him and bring him to the elders of his city, to the gate of that place, 20and say to the elders of his city, “This son of ours is stubborn and rebellious. He will not obey us; he is a glutton and a drunkard.” 21Then all the men of his city are to stone him to death. You must purge the evil from among you, and all Israel will hear and be afraid. 22If someone guilty of a capital offense is put to death and his body is hung on a tree, 23you must not leave the body on the tree overnight. Be sure to bury it that same day, because anyone hung on a tree is under God’s curse. You must not defile the land Yahweh your God is giving you as an inheritance.