Bereshit / Genesis 4:7 · Drash
הֲלוֹא אִם־תֵּיטִיב שְׂאֵת וְאִם לֹא תֵיטִיב לַפֶּתַח חַטָּאת רֹבֵץ וְאֵלֶיךָ תְּשׁוּקָתוֹ וְאַתָּה תִּמְשָׁל־בּוֹ׃
Surely, if you do good, you will be lifted up. And if you do not do good, sin crouches at the door. Its desire is for you, but you can rule over it."
Drash דְּרָשׁ
The guest who became the master
At first it was a trifle, then a habit, then you no longer remember how you lived without it. The midrash describes exactly this road and says where it begins and what stops it.
The midrash reads the words of the verse one after another. "If you do good, uplift": uplift as in Aharon's blessing, and if not, a curse. "Sin lies": it says "lies" in the masculine, not the feminine. At first sin is weak like a woman, then it grows strong like a man. Rabbi Akiva: at first like a spider's thread, in the end like a ship's rope. Rabbi Yitzchak: at first it is a guest, then the master of the house. Rabbi Abba: the evil inclination is like a robber at a crossroads, whom Avraham (Abraham) was the first to beat. And if the evil inclination has come to make you laugh, push it away with words of Torah: "for I have written for you in the Torah: its desire is towards you, and you shall rule over it".
How Bereshit Rabbah explain it
Bereshit Rabbah And the Eternal turned to Hevel and to his offering
He was reconciled with him. "But to Kayin and to his offering He did not turn": He was not reconciled with him. "And Kayin was very angry, and his face fell": his face became like a firebrand. "And the Eternal said to Kayin: why are you angry, and why has your face fallen? If you do good, uplift (שְׂאֵת)". As it is said: "and Aharon lifted (וַיִּשָּׂא) his hands towards the people and blessed them" (Vayikra / Leviticus 9:22). "And if you do not do good, uplift": a curse, as it is written: "and they shall lay (וְהִשִּׂיאוּ) upon them the iniquity of guilt" (Vayikra / Leviticus 22:16). Another explanation: if you do good, I forgive you your sins, and if not, the sin of that man is full and heaped up.
Rabbi Berechyah said in the name of Rabbi Shimon bar Ami: "Of David. A maskil. Happy is he whose transgression is lifted, whose sin is covered" (Tehillim / Psalms 32:1). Happy is the person who is higher than his transgression, and not his transgression higher than him. As it is said: "at the door sin lies (רֹבֵץ)": it is not written here "lies" (רוֹבֶצֶת) in the feminine, but "lies" in the masculine. At first it is weak like a woman, afterwards it grows strong like a man. Rabbi Akiva said: at first it is like a spider's thread, and in the end it becomes like a ship's rope. As it is written: "woe to those who draw iniquity with cords of vanity, and sin as with a cart rope" (Yeshayahu / Isaiah 5:18). Rabbi Yitzchak said: at first it becomes a guest, and afterwards it becomes the master of the house. As it is written: "and he spared to take of his own flock and of his own herd to prepare for the guest who had come to him": here is the guest. "And he took the poor man's lamb and prepared it for the man who had come to him" (Shmuel II / II Samuel 12:4): here is the master of the house.
Rabbi Tanchum bar Maryon said: there are dogs in Rome that know how to be cunning. Such a one goes and sits before a baker's shop and pretends to doze, and the shopkeeper dozes, and it knocks a loaf to the ground, and while they gather it up, it snatches a loaf and goes off with it. Rabbi Abba said: this evil inclination is like a bent robber who sat at a crossroads. To everyone who passed he said: give what is on you. A clever one passed and saw there was nothing to rob him of, and began to beat him. So the evil inclination destroyed many generations: the generation of Enosh, the generation of the dispersion and the generation of the flood. When Avraham (Abraham) our father stood up and saw there was nothing for it to take, he began to beat it. As it is written: "and I will crush his foes before him, and strike those who hate him" (Tehillim / Psalms 89:24). Rabbi Ammi said: the evil inclination does not walk at the sides but in the middle of the square, and when it sees a person rubbing his eyes, arranging his hair and strutting on his heels, it says: this one is mine! What is the reason? "Have you seen a man wise in his own eyes? There is more hope for a fool than for him" (Mishlei / Proverbs 26:12). Rabbi Avin said: whoever pampers his inclination in his youth will in the end, in his old age, find it his master. What is the reason? "He who pampers his servant from youth, in the end he will become the master" (Mishlei / Proverbs 29:21).
Rabbi Chanina bar Papa said: if your inclination has come to make you laugh, push it away with words of Torah. If you do so, I count it for you as if you had created peace. As it is said: "the firm inclination (יֵצֶר) You keep in peace" (Yeshayahu / Isaiah 26:3). And if you do so, I count it for you as if you had created the world: it is not written here "peace", but "peace, peace". And if you say that it is not in your power, Scripture says: "for in You it trusts", and I have already written for you in the Torah: "its desire is towards you, and you shall rule over it". Rabbi Simon said: if your inclination has come to make you laugh, gladden it with words of Torah, as it is said: "the firm inclination You keep in peace". And if you do so, I count it for you as if you had created the two worlds: it is not written here "You keep peace", but "peace, peace".
Takeaway
The midrash takes verses 4:4–7 in order: "and the Eternal turned to Hevel" (Bereshit / Genesis 4:4), "He did not turn" (4:5), "why are you angry" (4:6) and our verse. The word "uplift" (שְׂאֵת) it links with "lifted his hands" in Aharon's blessing and with "lay the iniquity" in the law of offerings.
"Lies" (רֹבֵץ) in the masculine with the word "sin" (חַטָּאת), which in Hebrew is feminine: on this mismatch rest the words about sin that is at first weak like a woman and then grows strong like a man.
"Guest" and "master of the house": the prophet Natan's parable to David about the rich man who took the poor man's lamb for a "guest" and then for "the man who had come to him" (Shmuel II / II Samuel 12:4). The midrash reads the change of words as a change of standing: the evil inclination is at first a guest, then the master.
Three lost generations: the generation of Enosh, in whose days idol worship began (Bereshit / Genesis 4:26), the generation of the flood (Bereshit / Genesis 6–8) and the generation of the dispersion, which built the tower (Bereshit / Genesis 11). Avraham was the first to "beat" the evil inclination.
"The firm inclination You keep in peace" (Yeshayahu / Isaiah 26:3): the prophet's word "inclination" (יֵצֶר) means "mind", "thought", and the midrash reads it as "the evil inclination", and the double "peace, peace" (שָׁלוֹם שָׁלוֹם) as two worlds.
"For in You it trusts" (כִּי בְךָ בָּטוּחַ): the end of the same verse of Isaiah. The midrash reads it as the answer to one who says the evil inclination is not in his power.