Leviticus 20:10

8 And you shall keep My statutes and practice them. I am the LORD who sanctifies you.

9 If anyone curses his father or mother, he must be put to death. He has cursed his father or mother; his blood shall be upon him.

If a man commits adultery with another man’s wife—with the wife of his neighbor—both the adulterer and the adulteress must surely be put to death.

11 If a man lies with his father’s wife, he has uncovered his father’s nakedness. Both must surely be put to death; their blood is upon them.

12 If a man lies with his daughter-in-law, both must surely be put to death. They have acted perversely; their blood is upon them.

This was said to Israel at a particular time, so it is wise to read it together with the surrounding text. Do read the surrounding verses too, because the context often says more than a single verse.

Compare

BSB
If a man commits adultery with another man’s wife—with the wife of his neighbor—both the adulterer and the adulteress must surely be put to death.
KJV
And the man that committeth adultery with another man’s wife, even he that committeth adultery with his neighbour’s wife, the adulterer and the adulteress shall surely be put to death.
WEB
“‘The man who commits adultery with another man’s wife, even he who commits adultery with his neighbor’s wife, the adulterer and the adulteress shall surely be put to death.
ASV
And the man that committeth adultery with another man`s wife, even he that committeth adultery with his neighbor`s wife, the adulterer and the adulteress shall surely be put to death.
DARBY
And a man that committeth adultery with a man's wife, who committeth adultery with his neighbour's wife, the adulterer and the adulteress shall certainly be put to death.
BLB
And the man who commits adultery with the wife of a man—who commits adultery with the wife of his neighbor—the adulterer and the adulteress must surely be put to death.
ÅB
Når en mann driver hor med en annen manns hustru - med sin nestes hustru, da skal de begge late livet, både mannen og kvinnen som har drevet hor.
OTB
‘Hvis en mann begår ekteskapsbrudd med en annen manns kone, skal både ekteskapsbryteren og ekteskapsbrytersken visselig dø.
B1930
Når en mann driver hor med en annen manns hustru - med sin næstes hustru, da skal de begge late livet, både mannen og kvinnen som har drevet hor.

Study notes (Tyndale)

Original text and word study

Cross references