Deuteronomy 21:23
ESV, NIV, KJV · TruthBound Bible
ESV
his body shall not remain all night on the tree , but you shall bury him the same day , for a hanged man is cursed by God . You shall not defile your land that the Lord your God is giving you for an inheritance .
NIV
you must not leave the body hanging on the pole overnight. Be sure to bury it that same day, because anyone who is hung on a pole is under God`s curse. You must not desecrate the land the Lord your God is giving you as an inheritance.
KJV
His body shall not remain all night upon the tree, but thou shalt in any wise bury him that day; ( for he that is hanged is accursed of God;) that thy land be not defiled, which the Lord thy God giveth thee for an inheritance. Deuteronomy 20 Books Deuteronomy 22