Deuteronomy 22:21

21 then they are to lead the girl to the door of her father's house, and the men of her town will stone her to death, because she has committed in Isra'el the disgraceful act of being a prostitute while still in her father's house. In this way you will put an end to such wickedness among you.

Deuteronomy 22:21 Meaning and Commentary

Deuteronomy 22:21

Then they shall bring out the damsel to the door of her
father's house
For his greater disgrace, and as a sort of punishment for his neglect of her education, not taking care to instruct her, and bring her up in a better manner:

and the men of her city shall stone her with stones, that she die;
which was the death this sort of adulteresses were put to; others was by strangling, and the daughter of a priest was to be burnt; see ( Leviticus 20:10 ) ( 21:9 ) , which shows that this sin was committed by her after her espousals, as Jarchi and Aben Ezra note; or otherwise it would have been only simple fornication, which was not punishable with death:

because she hath wrought folly in Israel:
a sin, as all sin is folly, and especially any notorious one, as this was; and which is aggravated by its being done in Israel, among a people professing the true religion, and whom God had chosen and separated from all others to be a holy people to himself:

to play the whore in her father's house;
where she continued after her espousals, until she was taken to the house of her husband, to consummate the: marriage; and between the one and the other was this sin committed, and which is another reason for her execution at the door of her father's house:

so shalt thou put evil away from among you;
deter others from it by such an example, and remove the guilt of it from them, which otherwise would lie upon them, if punishment was not inflicted; the Targum of Jonathan interprets it of the putting away of her that did the evil.

Deuteronomy 22:21 In-Context

19 The leaders of that town are to take the man, punish him, and fine him two-and-a-half pounds of silver shekels, which they will give to the girl's father, because he has publicly defamed a virgin of Isra'el. She will remain his wife, and he is forbidden from divorcing her as long as he lives.
20 "But if the charge is substantiated that evidence for the girl's virginity could not be found;
21 then they are to lead the girl to the door of her father's house, and the men of her town will stone her to death, because she has committed in Isra'el the disgraceful act of being a prostitute while still in her father's house. In this way you will put an end to such wickedness among you.
22 "If a man is found sleeping with a woman who has a husband, both of them must die -the man who went to bed with the woman and the woman too. In this way you will expel such wickedness from Isra'el.
23 "If a girl who is a virgin is engaged to a man, and another man comes upon her in the town and has sexual relations with her;
Complete Jewish Bible Copyright 1998 by David H. Stern. Published by Jewish New Testament Publications, Inc. All rights reserved. Used by permission.