Deuteronomy 21:21-23 Lexham English Bible (LEB)

21. Then all the men of his city shall stone him with stones and let him die; and so you shall purge the evil from your midst, and all of Israel will hear, and they will fear.

22. “And if a man commits a sin punishable by death, and so he is put to death and you hang him on a tree,

23. his dead body shall not hang on the tree, but certainly you shall bury him on that day, for cursed by God is one that is being hung; so you shall not defile your land that Yahweh your God is giving to you as an inheritance.”

Deuteronomy 21