Read this passage and open each verse for the full verse feed and commentary tools.
22If a man have committed a sin worthy of death, and he be put to death, and you hang him on a tree; 23his body shall not remain all night on the tree, but you shall surely bury him the same day; for he who is hanged is accursed of God; that you don`t defile your land which Yahweh your God gives you for an inheritance.
Deuteronomy 21:22-23 (WEB)