Verse study
Deuteronomy 21:23
23 his 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. Don’t defile your land which Yahweh your God gives you for an inheritance.
Meaning & historical commentary
Hanging was not a routine Israelite method of execution; the text here describes a corpse displayed on a tree or pole as a public shaming after death. The phrase that the hanged man is qelalah, a vilification or curse, means the body carries the community's condemnation, and leaving it overnight would defile the land God gave as an inheritance. So the rule insists the body be taken down and buried the same day, a practice that Joshua 8:29 shows being carried out after a king of Ai was hanged on a tree until evening.