Deuteronomy 21:23

23 ahis body shall not remain all night on the tree, but you shall bury him the same day, for ba hanged man is cursed by God. cYou shall not defile your land that the Lord your God is giving you for an inheritance.

Joshua 8:29

29 dAnd he hanged the king of Ai on a tree until evening. eAnd at sunset Joshua commanded, and they took his body down from the tree and threw it at the entrance of the gate of the city and fraised over it a great heap of stones, which stands there to this day.

2 Samuel 18:17

17And they took Absalom and threw him into a great pit in the forest and raised over him ga very great heap of stones. And all Israel hfled every one to his own home.
Copyright information for ESV