and they shall fine him a hundred shekels of silver and give them to the father of the young woman, because he has brought a bad name upon a virgin of Israel. And she shall be his wife. He may not divorce her all his days.
These laws relate to the seventh commandment, laying a restraint by laying a penalty upon those fleshly lusts which war against the soul. I. If a man, lusting after another woman, to get rid of his wife slander her and falsely accuse her, as not having the virginity she pretended to when he married her, upon the disproof of his slander he must be punished, Deu 22:13-19.
Commenting on Deuteronomy 22:13-30
But if this thing be true,.... Which the husband of the damsel laid to her charge, that she was no virgin when married to him, and she had committed whoredom, of which there was plain proof: and the tokens of virginity be not found for the damsel; by her parents, or those who had the care of her; or no sufficient reason could be assigned...
And they shall amerce him in an hundred [shekels] of silver, and give [them] unto the father of the damsel, because he hath brought up an evil name upon a virgin of Israel: and she shall be his wife; he may not put her away all his days. (i) For the fault of the child becomes the shame of the parents: therefore he was recompensed when she was faultless.