21 then they shall bring the young woman out to the entrance of her father's house and the men of her town shall stone her to death, because she committed a disgraceful act in Israel by prostituting herself in her father's house. So you shall purge the evil from your midst.

Matthew Henry's Commentary on Deuteronomy 22:21

Commentary on Deuteronomy 22:13-30

(Read Deuteronomy 22:13-30)

These and the like regulations might be needful then, and yet it is not necessary that we should curiously examine respecting them. The laws relate to the seventh commandment, laying a restraint upon fleshly lusts which war against the soul.