Deuteronomy 21:21-22 New International Reader's Version (NIRV)

21. Then all of the people in his town will put him to death by throwing stones at him. Get rid of that evil person. All of the people of Israel will hear about it. And they will be afraid to disobey their parents.

22. Suppose a man is put to death for a crime that is worthy of death. And a pole is stuck through his body and set up where people can see it.

Deuteronomy 21