Lo tinaf The Seventh Commandment
Torah Tech torahtech.co/10/lo-tinaf
The seventh commandment
לֹא תִּנְאָף

Do Not Commit Adultery

The seventh commandment is about loyalty. The prophets call marriage a covenant, an early midrash sets this commandment opposite "You shall have no other gods," and Yosef shows how a young man far from home holds firm. With every source.

Start reading
The Ten Commandments

Two words about loyalty

Right after "Do not murder" comes the seventh commandment, also two words in Hebrew.

לֹא תִּנְאָף
"Do not commit adultery."
Shemot 20:13Open the source

Rashi (Rabbi Shlomo Yitzchaki, France, 1000s, the classic commentator on the Torah) explains what the word means:

אֵין נִאוּף אֶלָּא בְאֵשֶׁת אִישׁ
"The word ni'uf is used only about a married woman."
Rashi on Shemot 20:13Open the source

In other words, this commandment protects marriage. In the Torah's own language, ni'uf means a married woman being unfaithful to her husband, together with the man involved. The prophet Malachi, below, speaks just as sharply to husbands who betray their wives.

The Torah has other laws about relationships (the main chapter is Vayikra 18). They are learned in their own place, with a teacher, and this page does not go into them. It is about the idea at the center of the seventh commandment: loyalty.

Marriage

A covenant, with Hashem as witness

The prophet Malachi calls marriage a brit, a covenant.

ה' הֵעִיד בֵּינְךָ וּבֵין אֵשֶׁת נְעוּרֶיךָ אֲשֶׁר אַתָּה בָּגַדְתָּה בָּהּ וְהִיא חֲבֶרְתְּךָ וְאֵשֶׁת בְּרִיתֶךָ
"Hashem has been a witness between you and the wife of your youth, whom you have betrayed, though she is your companion and the wife of your covenant."
Malachi 2:14Open the source

Malachi is speaking to men of his time who had broken faith with their wives. He calls the marriage a brit, the same word the Torah uses for Hashem's covenant with the Jewish people, and he says Hashem Himself is the witness. Being unfaithful is not only a wrong against a husband or a wife. It breaks a promise that Hashem witnessed.

The prophets also say it in the other direction, describing Hashem's bond with the Jewish people as a marriage. Hoshea says in Hashem's name:

וְאֵרַשְׂתִּיךְ לִי לְעוֹלָם וְאֵרַשְׂתִּיךְ לִי בְּצֶדֶק וּבְמִשְׁפָּט וּבְחֶסֶד וּבְרַחֲמִים וְאֵרַשְׂתִּיךְ לִי בֶּאֱמוּנָה וְיָדַעַתְּ אֶת־ה'
"I will betroth you to Me forever. I will betroth you to Me with righteousness and with justice, with kindness and with mercy. I will betroth you to Me with faithfulness, and you will know Hashem."
Hoshea 2:21-22

If you put on tefillin, you may know these verses: many siddurim have you say them every weekday morning while you wind the strap around your finger. The relationship with Hashem is a kind of marriage, and a marriage is about faithfulness. That is how the Mechilta explains where this commandment sits on the tablets.

Its partner on the other tablet

Opposite “You shall have no other gods”

Read straight across the two tablets, and the seventh commandment lines up with the second.

In one view in the Mechilta (an early midrash on Shemot from the Sages of the Mishnah), the Ten Commandments were written five on each tablet. Then every commandment on one tablet faces a partner on the other: the first with the sixth, the second with the seventh, and so on.

אָנֹכִי לֹא־יִהְיֶה לֹא תִשָּׂא זָכוֹר כַּבֵּד לֹא תִּרְצָח לֹא תִּנְאָף לֹא תִּגְנֹב לֹא־תַעֲנֶה לֹא תַחְמֹד 12345 678910 First tablet: 1 to 5 Second tablet: 6 to 10
Five on each tablet, read from right to left as Hebrew is. The second commandment, "You shall have no other gods," faces the seventh.
כָּתוּב ״לֹא יִהְיֶה לְךָ״, וּכְנֶגְדּוֹ כָתוּב ״לֹא תִנְאָף״. מַגִּיד הַכָּתוּב, שֶׁכָּל מִי שֶׁעוֹבֵד עֲבוֹדָה זָרָה, מַעֲלִין עָלָיו כְּאִלּוּ מְנָאֵף מֵאַחַר הַמָּקוֹם, שֶׁנֶּאֱמַר: ״הָאִשָּׁה הַמְּנָאָפֶת תַּחַת אִישָׁהּ תִּקַּח אֶת זָרִים״
"It is written 'You shall have no other gods,' and opposite it is written 'Do not commit adultery.' Scripture is telling you that whoever worships idols is counted as if he were unfaithful to the Omnipresent (Hashem), as it says: 'The unfaithful wife, who takes strangers in place of her husband.'"
Mechilta d'Rabbi Yishmael, Bachodesh 8 (quoting Yechezkel 16:32)Open the source

In plain words: serving something other than Hashem is being unfaithful to Him, the way someone who breaks a marriage is unfaithful to his spouse. The two commandments describe the same failure of loyalty, once toward Hashem and once toward a person. The verse the Mechilta brings from Yechezkel is the same one Rashi brings to explain the word ni'uf.

The Mechilta adds a verse from Hoshea that makes the same point. This pairing is the view of Rabbi Chananya ben Gamliel (in some editions, Chanina). The Sages there disagree and say all ten were written on each tablet (Mechilta, Bachodesh 8).

Bereishit 39

Yosef says no

Yosef was a young man far from home, a slave in Egypt, trusted with everything. Then came the test. Step through it.

Look at the reasons Yosef gave. He did not say no one would find out, or that he was strong enough to handle it. He said his master had trusted him with everything, and that it would be a sin against God. And when she grabbed him, he left.

Guarding

The eyes and the heart

Twice a day, in the Shema, we say it: do not stray after your heart and your eyes.

וְלֹא־תָתוּרוּ אַחֲרֵי לְבַבְכֶם וְאַחֲרֵי עֵינֵיכֶם אֲשֶׁר־אַתֶּם זֹנִים אַחֲרֵיהֶם
"...and do not wander after your heart and after your eyes, which you stray after."
Bamidbar 15:39Open the source

This verse is in the third paragraph of the Shema, the paragraph about tzitzit. Rashi points out that the word for "wander," taturu, is the word the Torah uses for the spies who scouted the Land of Israel. The eyes and the heart are scouts too:

הַלֵּב וְהָעֵינַיִם הֵם מְרַגְּלִים לַגּוּף, מְסַרְסְרִים לוֹ אֶת הָעֲבֵרוֹת, הָעַיִן רוֹאָה וְהַלֵּב חוֹמֵד וְהַגּוּף עוֹשֶׂה אֶת הָעֲבֵרָה
"The heart and the eyes are spies for the body. They arrange the sins for it: the eye sees, the heart desires, and the body does the sin."
Rashi on Bamidbar 15:39Open the source

Three steps, and three places to stop. Choose a step.

Iyov did not wait for the test to make up his mind. He made his covenant ahead of time.

The reward

When you want it, and say no

The Mishnah does not pretend this is easy.

רַבִּי שִׁמְעוֹן בַּר רַבִּי אוֹמֵר, הֲרֵי הוּא אוֹמֵר רַק חֲזַק לְבִלְתִּי אֲכֹל הַדָּם כִּי הַדָּם הוּא הַנָּפֶשׁ וְגוֹ', וּמָה אִם הַדָּם שֶׁנַּפְשׁוֹ שֶׁל אָדָם קָצָה מִמֶּנּוּ, הַפּוֹרֵשׁ מִמֶּנּוּ מְקַבֵּל שָׂכָר, גָּזֵל וַעֲרָיוֹת שֶׁנַּפְשׁוֹ שֶׁל אָדָם מִתְאַוָּה לָהֶן וּמְחַמַּדְתָּן, הַפּוֹרֵשׁ מֵהֶן עַל אַחַת כַּמָּה וְכַמָּה שֶׁיִּזְכֶּה לוֹ וּלְדוֹרוֹתָיו וּלְדוֹרוֹת דּוֹרוֹתָיו עַד סוֹף כָּל הַדּוֹרוֹת
"Rabbi Shimon bar Rabbi says: The Torah says, 'Only be strong not to eat the blood, for the blood is the life' (Devarim 12:23). If blood, which a person's soul is disgusted by, brings reward to the one who keeps away from it, then theft and forbidden relationships, which a person's soul desires and longs for, all the more so: the one who keeps away from them earns merit for himself, for his descendants and for their descendants, until the end of all generations."
Mishnah Makkot 3:15Open the source

Notice what the Mishnah takes for granted: a person's soul desires these things. The reward is for keeping away anyway, and it reaches his children's children.

Just before this, in the same Mishnah, Rabbi Shimon learns the idea from the Torah's chapter on forbidden relationships itself:

רַבִּי שִׁמְעוֹן אוֹמֵר, מִמְּקוֹמוֹ הוּא לָמֵד, שֶׁנֶּאֱמַר וְנִכְרְתוּ הַנְּפָשׁוֹת הָעֹשֹׂת וְגוֹ', וְאוֹמֵר אֲשֶׁר יַעֲשֶׂה אֹתָם הָאָדָם וָחַי בָּהֶם. הָא, כָּל הַיּוֹשֵׁב וְלֹא עָבַר עֲבֵרָה, נוֹתְנִין לוֹ שָׂכָר כְּעוֹשֶׂה מִצְוָה
"Rabbi Shimon says: It is learned from its own place, as it says: 'The souls that do them will be cut off' (Vayikra 18:29), and it says: 'which a person shall do and live by them' (Vayikra 18:5). So whoever sat and did not sin is given reward like someone who did a mitzvah."
Mishnah Makkot 3:15Open the source

In the Gemara, Rav Tuvi bar Rav Kisna points out a contradiction to Rava: one teaching rewards only someone who does a mitzvah, and another rewards someone who just sat and did not sin. Rava answers:

יָשַׁב וְלֹא עָבַר עֲבֵירָה – נוֹתְנִים לוֹ שָׂכָר כְּעוֹשֶׂה מִצְוָה! אֲמַר לֵיהּ: הָתָם, כְּגוֹן שֶׁבָּא דְּבַר עֲבֵירָה לְיָדוֹ וְנִיצּוֹל הֵימֶנָּה
"'Whoever sat and did not sin is given reward like someone who did a mitzvah!' Rava said to him: There, it means a case where the chance to sin came into his hands, and he was saved from it."
Kiddushin 39bOpen the source

Yosef in Potiphar's house is a case like that.

The limits

Where this page stops

This page teaches an idea. Some things belong in a conversation with a person, not on a web page.

1

One of the three

כׇּל עֲבֵירוֹת שֶׁבַּתּוֹרָה אִם אוֹמְרִין לָאָדָם ״עֲבוֹר וְאַל תֵּהָרֵג״ – יַעֲבוֹר וְאַל יֵהָרֵג, חוּץ מֵעֲבוֹדָה זָרָה וְגִילּוּי עֲרָיוֹת וּשְׁפִיכוּת דָּמִים
"For every sin in the Torah, if a person is told 'Transgress, or you will be killed,' he should transgress and not be killed, except for idol worship, forbidden relationships, and bloodshed."
Sanhedrin 74aOpen the source

Rabbi Yochanan, in the name of Rabbi Shimon ben Yehotzadak, reports that the Sages voted on this in Lod. Two of the three, idol worship and forbidden relationships (which include adultery), are this page's pair on the tablets.

2

The details are learned with a teacher

The laws of relationships, in Vayikra 18 and in the Shulchan Aruch (the standard code of Jewish law), are learned with a rebbe or a rav, at the right time and in the right setting. This page does not teach them.

3

Questions go to a person

If you have a question about this commandment, or something you are struggling with, talk to a rebbe, a rav or a parent you trust. Asking for guidance is part of guarding yourself, not a sign that you failed.

If something feels wrong. This page is for learning. If anyone has made you uncomfortable in a way that feels wrong, telling a trusted adult is the right thing to do: a parent, a teacher, a school counselor or a rav.

FAQ

Common questions

Short answers, with sources.

What does lo tinaf mean?

It is the seventh of the Ten Commandments (Shemot 20:13; Devarim 5:17). Rashi explains that the word ni'uf is used only about a married woman: the commandment protects marriage (Rashi on Shemot 20:13). One view in the Mechilta sets it opposite the second commandment and compares serving idols to being unfaithful in a marriage (Mechilta, Bachodesh 8).

Why compare idol worship to being unfaithful in a marriage?

Because the Jewish people's relationship with Hashem is a covenant, and the prophets describe it as a marriage (Hoshea 2:21-22). Serving another god breaks that covenant, the way being unfaithful breaks a marriage (Mechilta, Bachodesh 8, quoting Yechezkel 16:32).

Why is Yosef the example?

Because the Torah tells his story in detail. He was young, alone and a slave, he was pressured day after day, and he said no, out of loyalty to the man who trusted him and to Hashem (Bereishit 39:8-10). The Gemara calls him Yosef HaTzaddik, Yosef the righteous (Yoma 35b).

What does "guarding the eyes" mean in practice?

The Torah's words are in the Shema: do not stray after your heart and your eyes (Bamidbar 15:39), and Iyov describes a covenant he made with his eyes (Iyov 31:1). How this applies to what you see every day, including screens, is a question to work out with a rebbe or rav you trust.

Is it a sin to have a thought?

Thoughts come to everyone. The Torah asks you not to "wander after" them (Bamidbar 15:39), and the Mishnah promises a reward for holding back from what you want (Makkot 3:15). Where the line is between a thought that passes and one you are chasing is a good question for a rav.

Where can I learn more?

With a rebbe or a rav. The halachot of relationships are taught in their own setting. On this site, the pages below cover the rest of the Ten Commandments.

Keep learning

Keep going

The rest of the Ten Commandments, and more free Torah from Torah Tech. No signup.

Hebrew texts are from Sefaria: Tanach from Miqra al pi ha-Masorah (CC-BY-SA), the Mishnah from the Torat Emet edition, the Talmud's Hebrew and Aramaic from the William Davidson edition (CC-BY-NC), the Mechilta d'Rabbi Yishmael from the Beeri edition (Koren, 2019, CC-BY-NC), Bereishit Rabbah from the Torat Emet edition of the Midrash Rabbah (CC-BY-NC), and Rashi on the Torah from the Rosenbaum and Silbermann edition. English renderings and explanations are Torah Tech originals, and any mistakes are ours.

This page is for learning. It is not a halachic ruling. For how these laws apply to you, ask your rav.

Torah Tech · torahtech.co/10/lo-tinaf · The Opportunity Year in Tel Aviv · Learn more and apply at torahtech.co
The Opportunity Year · Tel Aviv, Israel

Learn like this for a year

Torah Tech is a beit midrash in Tel Aviv built for personal and professional growth: Torah learning at the center of every day, and internships at Israeli startups. It is the year a future Jewish leader realizes who he can become, and chooses to become it.