Deuteronomy 22:20 If, however, the charge is true and no proof of the young woman’s virginity can be found, 21she shall be brought to the door of her father’s house and there the men of her town shall stone her to death. She has done an outrageous thing in Israel by being promiscuous while still in her father’s house. You must purge the evil from among you.
There are females who are born without a hymen. How could they prove their virginity in those days?