Deuteronomy 21:21 KJV
And all the men of his city shall stone him with stones, that he die: so shalt thou put evil away from among you; and all Israel shall hear, and fear.
Deuteronomy 21:21, King James Version
In context
20 And they shall say unto 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 shalt thou put evil away from among you; and all Israel shall hear, and fear.
22 And if a man have committed a sin worthy of death, and he be to be put to death, and thou hang him on a tree: