Deuteronomy 21:21 NLT

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.