Deuteronomy 21:23

ACV(i) 23 his body shall not remain all night upon the tree, but thou shall surely bury him the same day, for he who is hanged is accursed of God, that thou not defile thy land which LORD thy God gives thee for an inheritance.