What does Deuteronomy 22:21 mean?
then they’ll bring her to her father’s house, and the men of the town will stone her to death. She brought shame on her family and did something disgraceful in Israel. You have to get rid of this kind of evil among you. Deuteronomy 22:21 - Modern Text Bible
(This is a harsh penalty reflecting the seriousness with which the community viewed sexual misconduct and public shame at that time.)