Deuteronomy 21:23
Deuteronomy 21:23 NASB1995
his corpse shall not hang all night on the tree, but you shall surely bury him on the same day (for he who is hanged is accursed of God), so that you do not defile your land which the LORD your God gives you as an inheritance.