Deuteronomy 21:21

21 Then all the men of his town are to stone him to death. You must purge the evil from among you. All Israel will hear of it and be afraid.

Read Deuteronomy 21:21 Using Other Translations

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.
Then all the men of the city shall stone him to death with stones. So you shall purge the evil from your midst, and all Israel shall hear, and fear.
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.