Midrash Rabbah: Bereshit Rabbah, chapter 54 בראשית רבה

1
ויהי בעת ההיא ויאמר אבימלך ופיכל שר צבאו - (משלי טז) ברצות ה' דרכי איש גם איביו ישלים אתו רבי יוחנן אמר: זו אשתו, שנאמר (מיכה ז): אויבי איש אנשי ביתו. מעשה באשה, שקבלה על בעלה לשלטון והתיז את ראשו, וי"א אף התיז את ראשה. רבי שמואל אמר: זה הנחש. תנא, ר' חלפתא אומר: הנחש הזה להוט אחר השום. ומעשה בנחש אחד, שירד מן ההר לבית ומצא קערה של שום ואכלה והקיא בתוכה, וראה נחש שבבית ולא הוה יכול לעמוד לו, כיון שיצא אותו הנחש יצא הנחש של בית ומילא אותה עפר. רבי יהושע בן לוי אמר: זה יצר הרע. בנוהג שבעולם אדם גדל עם חבירו שתים ג' שנים בכרך והוא קושר לו אהבה, וזה גדל עם אדם מנערותו ועד זקנותו, אם מצא בתוך שבעים הוא מפילו, בתוך שמונים הוא מפילו, הוא שדוד אומר (תהלים לה): כל עצמותי תאמרנה ה' מי כמוך, מציל עני מחזק ממנו ועני ואביון מגוזלו. אמר רבי אחא: וכי יש גזלן גדול מזה?! ואמר שלמה (משלי כה): אם רעב שונאך, האכילהו לחם, ואם צמא, השקהו מים. מלחמה של תורה, היך מה דאת אמר (שם ט): לכו לחמו בלחמי. ומימה של תורה, היך מה דאת אמר (ישעיה נה): הוי כל צמא לכו למים. אמר רבי ברכיה: אויביו, גם אויביו, לרבות מזיקי ביתו, כגון: יתושים ופרעושים וזבובים. דבר אחר: (משלי טו) ברצות ה' דרכי איש, זה אברהם שנקרא איש, דכתיב ביה (ישעיה מז): מארץ מרחק איש עצתי. גם אויביו, זה אבימלך:
“It was at that time, Avimelekh and Pikhol, the captain of his army, said to Abraham, saying: God is with you in everything that you do” (Genesis 21:22).
“It was at that time, Avimelekh and Pikhol, the captain of his army, said” – “When the Lord is pleased with the ways of a man, He will cause even his enemies to make peace with him” (Proverbs 16:7). Rabbi Yoḥanan said: This refers to one’s wife, as it is stated: “The members of his household are a man’s enemy” (Micah 7:6). There was once an incident involving a woman who filed a complaint against her husband to the authorities and they beheaded him.This is to illustrate how a man’s wife can be his enemy. Some say, they [subsequently] beheaded her, as well.
Rabbi Shmuel said: It refers to a snake. It is taught: Rabbi Ḥalafta says: Snakes are keen for garlic. There was once an incident involving a snake that came down from the mountain into a house and found a bowl of garlic. It ate from it and emitted [some venom] into it. Another snake that was in the house was unable to stand up to it [to fend it off]. When that [mountain] snake departed, the house snake came out and filled [the bowl] with dirt.In order to protect the members of the household, it brought dirt from the ground and spit it into the poisoned garlic so they would not eat it. The members of this house were apparently righteous, and so ‘the Lord was pleased with their ways.’
Rabbi Yehoshua ben Levi said: It refers to the evil inclination. The usual way of the world is that if a person grows up with another person, two or three years in the same city, he develops a liking for him. But this one [the evil inclination] grows up with a person from his youth to his old age, and if it finds an opportunity within seventy years, it will bring him down,By causing him to sin. [and even] within eighty years,Even in his old age. it will bring him down. This is what David says: “All my bones will say: Lord, who is like You, who delivers the poor from those who are stronger, the poor and the needy from their despoiler?” (Psalms 35:10). Rabbi Aḥa said: Is there any greater despoiler than this [the evil inclination]?So David was thanking God for delivering men from the clutches of their evil inclinations. Solomon said: “If your enemyAlluding to the evil inclination, as above. is hungry, feed him bread; and if he is thirsty, give him water to drink” (Proverbs 25:21). [This means: Give him] from the bread of Torah, as it says, [referring to Torah wisdom]: “Come partake of my bread” (Proverbs 9:4), [and give himfrom the water of Torah, as it says [referring to the Torah]: “Ho, anyone thirsty, go to water” (Isaiah 55:1).
Rabbi Berekhya said: [It doesn’t say only ] “his enemies,” [but] “even [gam] his enemies” (Proverbs 16:7) – this is to include the pests of one’s house, such as gnats, fleas, and flies.“When the Lord is pleased with the ways of a man,” He shields him from such annoyances. Alternatively, “when the Lord is pleased with the ways of a man [ish]” – this refers to Abraham, who was called ish, as it is written in his regard: “The man [ish] of My counsel from a distant land” (Isaiah 46:11). “Even his enemies” – this refers to Avimelekh.
2
ויהי בעת ההיא ויאמר אבימלך ופיכול - רבי יהודה אמר: פיכול שמו. רבי נחמיה אמר: פה שכל צבאותיו נושקים לו על פיו. אלהים עמך, לפי שהיו אומות העולם אומרין: אילו היה צדיק לא היה מוליד, אתמהא?! כיון שהוליד אמרו לו: אלהים עמך. ואילו היה צדיק לא היה שומע לקול אשתו, וכיון שנאמר לו: כל אשר תאמר אליך שרה שמע בקולה. אמרו לו: אלהים עמך! ואילו היה צדיק לא היה דוחה את בנו בכורו?! כיון שראו את מעשיו, אמרו לו: אלהים עמך בכל אשר אתה עושה. דבר אחר: לפי שחרבו מקומות של סדום, ופסקו העוברים והשבים, ולא חסר קלרין שלו כלום, לפיכך אלהים עמך בכל אשר אתה עושה, הואיל והאלהים עמך. ועתה השבעה לי באלהים הנה אם תשקור לי ולניני ולנכדי, עד כאן רחמי האב על הבן. אמר רבי אבא: עד כאן לאחים השותפין. אמר רבי יוסי בר חנינא: כתיב (תהלים לח): ואויבי חיים עצמו. מה שניתן לאברהם לשבע דורות, ניתן לאבימלך לשלושה. למה לא נחם אלהים דרך ארץ פלשתים? שעדיין נכדו קיים, כחסד אשר עשיתי עמך. מה חסד עשה לו? אלא שאמר לו: הנה ארצי לפניך, ואף על פי כן לא קבל עליו:
“It was at that time, Avimelekh and Pikhol…said” – Rabbi Yehuda said: Pikhol was his real name. Rabbi Neḥemya said: [It was an acronym:] The mouth [peh] of him whom all [shekol] his armies kiss on his mouth.He was beloved by all his subordinates.
“God is with you” – because the nations of the world had been saying: ‘Were he righteous, would he not have begotten a child?’ That was a rhetorical question. Once he begot a child, they said to him: “God is with you.” [They also used to say:] ‘Were he righteous, he would not have heeded his wife’s voice.’To banish Ishmael. Once it was said to him: “Everything that Sarah says to you, heed her voice” (Genesis 21:12), they said to him: “God is with you.” [They also used to say:] ‘Were he righteous, would he have spurned his firstborn son?’ Once they saw his [Ishmael’s] behavior, they said: “God is with you in everything that you do.”
“Now take an oath to me here, by God, that you will not deceive me, or my son, or my son’s son; like the kindness that I have performed with you, perform with me, and with the land in which you resided” (Genesis 21:23).
Another interpretation, [they were impressed] because the sites of Sodom were destroyed, and passersby ceased [from traveling the road], yet his food storehouse lacked nothing,Even though there were no longer any passing caravans from which to purchase food. that is why [they said:] “God is with you in everything that you do.” Now, since God is with you, “now take an oath to me here, by God.”
“That you will not deceive me, or my son, or my son’s son” – it is until this point that the compassion of a father extends to his descendants. Rabbi Abba said: It is until this point that brothers remain partners [in their inherited property].
Rabbi Yosei bar Ḥanina said: It is written: “My enemies are mighty with life” (Psalms 38:20). What was granted to Abraham after seven generations was granted to Avimelekh after three. Why? “God did not guide them via the land of the Philistines” (Exodus 13:17), because his [Avimelekh’s] grandson was still alive [at that time].Moses was the seventh generation from Abraham, and he was not allowed to conquer the lands of the Philistines because Avimelekh’s third-generation descendant was still alive then. This shows the extraordinary longevity of Avimelekh’s line.
“Like the kindness that I have performed with you, perform with me.” What kindness did he perform with him? It is that he said to him: “Behold, my land is before you, [dwell wherever is good in your eyes]” (Genesis 20:15). Nevertheless, he did not accept [that offer].
3
והוכיח אברהם את אבימלך וגו' - אמר רבי יוסי בר חנינא: התוכחת מביאה לידי אהבה, שנאמר (משלי ט): הוכח לחכם ויאהבך. היא דעתיה דרבי יוסי בר חנינא דאמר: כל אהבה שאין עמה תוכחה, אינה אהבה. אמר ריש לקיש: תוכחה מביאה לידי שלום, והוכיח אברהם את אבימלך, היא דעתיה, דאמר: כל שלום שאין עמו תוכחה, אינו שלום. על אודות באר המים אשר גזלו עבדי אבימלך ואי זהו גזלן? בר קפרא אמר: זה שהוא גוזל בפרהסיא, היך מה דאת אמר (שופטים ט): ויגזלו את כל אשר יעבור עליהם בדרך. מה דרך בפרהסיא, אף גזלן בפרהסיא. ר' שמעון בן יוחאי מייתי לה מהכא, (מלאכי א): והבאתם גזול את הפסח ואת החולה. מה פסח וחולה מומין בגלוי, אף גזלן בגלוי. רבי אבהו בשם ריש לקיש אמר: לפני ט' גנב, ולפני עשרה גזלן. רבי תנחומא בשם ר' הונא: לעולם אינו גזלן, עד שיגזלה מידו, שנאמר (שמואל ב כג): ויגזול את החנית מיד המצרי. ויאמר אבימלך לא ידעתי וגם אתה לא הגדת לי, ע"י מלאך. וגם אנכי לא שמעתי, בלתי היום:
“Abraham said: I will swear” (Genesis 21:24).
“Abraham reprimanded Avimelekh regarding the well of water that Avimelekh's servants had stolen” (Genesis 21:25).

“Abraham reprimanded Avimelekh…” – Rabbi Yosei bar Ḥanina said: Reprimand leads to love, as it is stated: “Rebuke a wise person, and he will love you” (Proverbs 9:8). This is consistent with [another] opinion of Rabbi Yosei bar Ḥanina, as he said: Any love that is not accompanied by reprimand is not [true] love.
Reish Lakish said: Reprimand leads to peace – “Abraham reprimanded Avimelekh.” This is consistent with [another] opinion of his, as he said: Any peace that is not accompanied by reprimand is not [true] peace.
“Regarding the well of water that Avimelekh’s servants had stolen [gazlu]” – what is a robber [gazlan]?As opposed to a thief. Bar Kappara said: It is one who steals something in public, as it says: “They robbed everyone who passed them on the road” (Judges 9:25) – just as the road is in public, so, too, robbery is in public.
Rabbi Shimon ben Yoḥai derived it from here: “You brought [as sacrifices] the stolen [gazul] [animal], the lame, and the ill” (Malachi 1:13) – just as lameness and illness are visible, so too, a robber [gazlan] is visible [when he steals].
Rabbi Abahu said in the name of Reish Lakish: [If one steals] in the presence of nine people, he is a thief; in the presence of ten people, he is a robber.
Rabbi Tanḥuma in the name of Rabbi Huna: One is not considered a robber until he takes something out of someone’s hand, as it is stated: “He stole [vayigzol] the spear from the hand of the Egyptian” (II Samuel 23:21).
“Avimelekh said: I did not know who did this matter, neither did you tell me, nor did I hear of it, other than today” (Genesis 21:26).
“Avimelekh said: I did not know…neither did you tell me” – by means of a messenger, “nor did I hear of it, other than today.”
4
"ויקח אברהם צאן ובקר ויתן לאבימלך" "ויאמר אבימלך לאברהם מה הנה שבע כבשות" אמר לו הקב"ה: אתה נתת שבע כבשות בלי רצוני חייך שאני משהה בשמחת בניך ז' דורות. אתה נתת לו שבע כבשות בלי רצוני חייך כנגד כן הורגים מבניך שבעה צדיקים ואלו הן חפני ופנחס ושמשון ושאול וג' בניו. אתה נתת לו שבע כבשות בלי רצוני כנגד כן בניו מחריבין מבניך ז' משכנות ואלו הן אוהל מועד וגלגל נוב וגבעון ושילה ובית עולמים תרין. אתה נתת לו שבע כבשות בלי רצוני כנגד כן ארוני חוזר בשדה פלשתים שבעה חדשים הה"ד (תהלים עח, סא ): "ויתן לשבי עזו" זה ארון ברית וכתיב (ש"א ו, א ): "ויהי ארון ה' בשדה פלשתים שבעה חדשים" "ותפארתו ביד צר" אלו בגדי כהונה כמה דאת אמר (שמות, כח ): "ועשית בגדי קדש לאהרן וגו' ולתפארת". רבי ירמיה בשם רבי שמואל בר רב יצחק בשם ר' אבא למה לקו אנשי בית שמש על ידי שהיו מליזין בארון אמר הקדוש ברוך הוא אילו תרנגולתו של אחד מהם אבדה היה מחזיר עליה כמה פתחים להביאה וארוני בשדה פלשתים שבעה חדשים ואין אתם משגיחים בו אם אין אתם משגיחים עליו אני אשגיח עליו (תהלים צח, ב ): "הושיעה לו ימינו וזרוע קדשו" הה"ד (ש"א ו, יב ): "וישרנה הפרות בדרך" מהלכות בישרות הפכו פניהם כלפי ארון ואמרו שירה והיינו דכתיב "וישרנה" אמרו שירה בפה. אי זו שירה אמרו? רבי מאיר אומר שירת הים אמרו, נאמר כאן "הלכו הלך וגעו" ונאמר להלן (שמות טו, א ): "כי גאה גאה". רבי יוחנן אמר (תהלים צח, א ): "שירו לה' שיר חדש" רבי אליעזר אמר (דה"א טז, ח ): "הודו לה' קראו בשמו". רבנן אמרי (תהלים צז, א ): "ה' מלך תגל הארץ" רבי ירמיה בשם רבי שמואל בר יצחק אמר תלת "שירו לה' שיר חדש" "שירו לה' כל הארץ" "ה' מלך ירגזו עמים" . תני אליהו "רומי השיטה התנופפי ברוב הדרך המחושקת ברקמי זהב המהוללה בדביר ארמון המעולפת מבין שני כרובים". אמר רבי שמואל בר נחמן כמה יגיעות יגע בו בן עמרם עד שלימד שירה ללוים ואתם אומרות שירה מאליכם יישר חילכם:
“Abraham took flocks and cattle, and gave them to Avimelekh, and the two of them established a covenant” (Genesis 21:27).
“Abraham set aside seven ewes of the flock by themselves” (Genesis 21:28).
“Avimelekh said to Abraham: What are these seven ewes that you have placed by themselves?” (Genesis 21:29).

“Abraham took flocks and cattle, and gave them to Avimelekh…Avimelekh said to Abraham: What are these seven ewes?” – the Holy One blessed be He said to him [Abraham]: ‘You gave seven ewes against My wishes,God was not pleased that Abraham was making a covenant with an idolater (see Exodus 23:32). by your life, I will delay the rejoicing of your descendants for seven generations.’The Exodus from Egypt did not occur until seven generations after Abraham.
‘You gave him seven ewes against My wishes, by your life, they [the Philistines] will correspondingly kill seven righteous men of your descendants.’ They are: Ḥofni and Pinḥas,The sons of Eli the priest (I Samuel 4:11). Samson, and Saul and his three sons.
‘You gave him seven ewes against My wishes, they [the Philistines] will correspondingly destroy seven Sanctuaries of your descendants.’ These are: The Tent of Meeting, Gilgal, Nov, Givon, Shilo, and the two eternal Temples [in Jerusalem].
‘You gave him seven ewes against My wishes, My Ark will correspondingly circulate in the Philistine countryside for seven months.’ That is what is written: “He sent His strength into captivity, [and His splendor into the hand of the foe]” (Psalms 78:61) – this refers to the Ark of the Covenant. And it is written: “The Ark of the Lord was in the Philistine countryside seven months” (I Samuel 6:1). “And His splendor into the hand of the foe” – this refers to the priestly vestments, as it says: “You shall make holy vestments for Aaron…and for splendor” (Exodus 28:2).
Rabbi Yirmeya in the name of Rabbi Shmuel bar Rav Yitzḥak in the name of Rabbi Abba: Why were the people of Beit Shemesh stricken down?When the Ark, which had been seized by the Philistines, was returned to that town (see I Samuel 6:19). It is because they demeaned the Ark. The Holy One blessed be He said: ‘Had one of them lost a chicken, he would have gone around to many doors [of his neighbors] in order to recover it, yet My Ark was in the Philistine countryside for seven months, and you paid it no attention. Though you paid it no attention, I will pay attention to it.’ “His right hand and His holy arm have wrought salvation for Him” (Psalms 98:1).This verse is taken as a reference to the retrieval of the Ark from the Philistines.
That is what is written: “The cowsWho were pulling the wagon carrying the Ark from the Philistines to Beit Shemesh. went directly [vayisharna] on the road” (I Samuel 6:12) – they were walking in a straight path. [Alternatively,] they turned their faces toward the ArkOut of respect for it. and sang a song of praise. That is what is written: “Vayisharna” – they sang a song of praise [shira] with their mouths.
What was the song that they sang? Rabbi Meir said: They recited the Song of the Sea. Here it is stated: “They went, lowing [vega’u] as they went” (I Samuel 6:12), and there [in the Song of the Sea] it is stated: “As He is greatly exalted [gao gaa]” (Exodus 15:1). Rabbi Yoḥanan said: [They sang:] “Sing to the Lord a new song” (Psalms 98:1). The Rabbis say: [They sang:] “The Lord reigns; let the earth rejoice” (Psalms 97:1). Rabbi Yirmeya said in the name of Rabbi Shmuel bar Yitzḥak: [They sang] three [songs:] “Sing to the Lord a new song” (Psalms 98:1); “Sing to the Lord all the earth” (Psalms 96:1); “The Lord reigns; peoples tremble” (Psalms 99:1). Eliyahu taught: [This was their song:] ‘Rise, acacia wood,The Ark was made of acacia wood (Exodus 25:10). soar in your abundant glory, decorated with golden embroidery, extolled in the innermost Sanctuary of the palace, adorned between two cherubs.’
Rabbi Shmuel bar Naḥman said [of those cows]: How many exertions did [Moses,] the son of Amram, expend until he taught the art of song to the Levites, and you [the cows] recite song on your own? May your strength be true.
5
ויאמר כי את שבע כבשות וגו' - רבנן ורבי יצחק בן חקורה, רבנן אמרי: רועיו של אברהם היו מדיינים עם רועיו של אבימלך. רועי אברהם אומרים: לנו הבאר! ואלו אומרים: לנו הבאר! אמרו להם רועי אברהם: כל מי שהמים עולים להשקות את צאנו, שלו היא הבאר! כיון שראו המים צאנו של אברהם אבינו, מיד עלו. אמר לו הקב"ה: את סימן לבניך, מה את, כיון שראו המים את צאנך מיד עלו, אף בניך, כיון שהבאר רואה אותן מיד יהא עולה, הה"ד (במדבר כא): אז ישיר ישראל את השירה הזאת וגו'. אמר להם ר' יצחק בר חקורה: עוד מן אתרה לית היא חסירה, בעבור היתה לי לעדה אין כתיב כאן אלא, בעבור תהיה לי לעדה:
“He said: It is so that you shall take the seven ewes from me, so that it will be for me as a testament, that I dug this well” (Genesis 21:30).
“He said: It is so that you shall take the seven ewes…” – the Rabbis and Rabbi Yitzḥak ben Ḥakora, the Rabbis say: Abraham’s herdsmen were arguing with Avimelekh’s herdsmen. Abraham’s herdsman were saying: ‘The well is ours,’ and the others were saying: ‘The well is ours.’ Abraham’s herdsman said to them: ‘For whichever of us the water rises by itself to water his flock, the well is his.’ When the water saw Abraham’s flock, it rose immediately. The Holy One blessed be He said to him: ‘You are a model for your descendants. Just as with you, once the water saw your flock it immediately rose, your descendants, too, when the well sees them it will immediately rise.’ That is what is written: “Then Israel sang this song: [Rise up, well]…” (Numbers 21:17). Rabbi Yitzḥak bar Ḥakora said to them: ThisThe lesson that the water would rise again for Israel in the future. is not lacking from this place:You do not need to derive it from elsewhere; it can be derived from this very verse. “So that it was for me as a testament” is not written here, but rather, “so that it will be for me as a testament.”
6
ויטע אשל בבאר שבע וגו' - רבי יהודה ורבי נחמיה, רבי יהודה אמר: אשל, פרדס! שאל מה תשאל, תאנים, וענבים, ורמונים. ר' נחמיה אמר: אשל, פונדיק! שאל מה תשאל, עיגולא, קופר, חמר, ביעין. רבי עזריה בשם ר' יהודה בר סימון: אשל, סנהדרין, היך מה דאת אמר (שמואל א כב): ושאול יושב בגבעה תחת האשל ברמה. על דעתיה דרבי נחמיה: דאמר אשל פונדיק, אברהם היה מקבל את העוברים ואת השבים ומשהיו אוכלין ושותין אמר לון: בריכו! והן אמרין: מה נימור? ואמר להון: ברוך אל עולם שאכלנו משלו, הה"ד (בראשית כא): ויקרא בשם ה' אל עולם. ויגר אברהם בארץ פלשתים ימים רבים, רבים מאותן שעשה בחברון. בחברון עשה עשרים וחמש שנה, וכאן עשה עשרים ושש שנים.
“He planted a tamarisk in Beersheba, and he proclaimed there the name of the Lord, God of the universe” (Genesis 21:33).
“He planted a tamarisk [eshel] in Beersheba” – Rabbi Yehuda and Rabbi Neḥemya, Rabbi Yehuda said: Eshel is an orchard. [It means:] Request [she’al] whatever you would like to request – figs, grapes, and pomegranates. Rabbi Neḥemya said: Eshel is an inn. [It means:] Request [she’al] whatever you would like to request; a loaf of bread, meat, wine, eggs. Rabbi Azarya in the name of Rabbi Yehuda bar Simon: Eshel is Sanhedrin,Abraham set up a Sanhedrin in Beersheba. just as it says: “Saul was sitting [in judgment] in Giva under the tamarisk [eshel] in Rama” (I Samuel 22:6).
According to the opinion of Rabbi Neḥemya, who said eshel is an inn, Abraham would receive passersby. After they had eaten and drunk, he would say to them: ‘Say a blessing.’ They would say to him: ‘What shall we say?’ He would say to them: ‘Blessed is the God of the universe, whose food we have eaten.’ That is what is written: “He proclaimed there the name of the Lord, God of the universe.”
“Abraham resided in the land of the Philistines many years” (Genesis 21:34).
“Abraham resided in the land of the Philistines many years” – more years than he stayed in Hebron. In Hebron he stayed twenty-five years,He was seventy-five years old when he arrived in the land of Canaan (Genesis 12:4), and settled in Hebron (Genesis 13:18). Up until the time of the upheaval of Sodom, when he was one hundred years old, the Torah does not mention anything about him moving away from there. and here he stayed twenty-six years.Since our verse states that he resided “many years” in the land of the Philistines, the implication is that he lived there for longer than his twenty-five-year stay in Hebron. Since the verse does not specify how many years more, the assumption is that he was there just one year more than he resided in Hebron.

Texts on this page

Hebrew and English are paired by Sefaria's divisions of the text. Where no open translation exists, the English column is empty. All our sources.