21 Then he is to be stoned to death by all the men of the town: so you are to put away the evil from among you; and all Israel, hearing of it, will be full of fear. 22 If a man does a crime for which the punishment is death, and he is put to death by hanging him on a tree; 23 Do not let his body be on the tree all night, but put it to rest in the earth the same day; for the man who undergoes hanging is cursed by God; so do not make unclean the land which the Lord your God is giving you for your heritage.

Matthew Henry's Commentary on Deuteronomy 21:21-23

Commentary on Deuteronomy 21:18-21

(Read Deuteronomy 21:18-21)

Observe how the criminal is here described. He is a stubborn and rebellious son. No child was to fare the worse for weakness of capacity, slowness, or dulness, but for wilfulness and obstinacy. Nothing draws men into all manner of wickedness, and hardens them in it more certainly and fatally, than drunkenness. When men take to drinking, they forget the law of honouring parents. His own father and mother must complain of him to the elders of the city. Children who forget their duty, must thank themselves, and not blame their parents, if they are regarded with less and less affection. He must be publicly stoned to death by the men of his city. Disobedience to a parent's authority must be very evil, when such a punishment was ordered; nor is it less provoking to God now, though it escapes punishment in this world. But when young people early become slaves to sensual appetites, the heart soon grows hard, and the conscience callous; and we can expect nothing but rebellion and destruction.

Commentary on Deuteronomy 21:22-23

(Read Deuteronomy 21:22-23)

By the law of Moses, the touch of a dead body was defiling, therefore dead bodies must not be left hanging, as that would defile the land. There is one reason here which has reference to Christ; "He that is hanged is accursed of God;" that is, it is the highest degree of disgrace and reproach. Those who see a man thus hanging between heaven and earth, will conclude him abandoned of both, and unworthy of either. Moses, by the Spirit, uses this phrase of being accursed of God, when he means no more than being treated most disgracefully, that it might afterward be applied to the death of Christ, and might show that in it he underwent the curse of the law for us; which proves his love, and encourages to faith in him.