21 Then all the men of the town are to throw rocks at him until he's dead. You will have purged the evil pollution from among you. All Israel will hear what's happened and be in awe. 22 When a man has committed a capital crime, been given the death sentence, executed and hung from a tree, 23 don't leave his dead body hanging overnight from the tree. Give him a decent burial that same day so that you don't desecrate your God-given land - a hanged man is an insult to God.

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.