Read Deuteronomy 22:22 Using Other Translations
If a man be found lying with a woman married to an husband, then they shall both of them die, both the man that lay with the woman, and the woman: so shalt thou put away evil from Israel.
"If a man is found lying with the wife of another man, both of them shall die, the man who lay with the woman, and the woman. So you shall purge the evil from Israel.
“If a man is discovered committing adultery, both he and the woman must die. In this way, you will purge Israel of such evil.