Hebrew · Midrash Rabbah (Hebrew, Torat Emet)וְלִבְנֵי הַפִּילַגְשִׁים וגו' (בראשית כה, ו), בִּימֵי אֲלַכְּסַנְדְּרוֹס מוֹקְדוֹן בָּאוּ בְּנֵי יִשְׁמָעֵאל לְעוֹרֵר עַל יִשְׂרָאֵל עַל הַבְּכוֹרָה, וּבָאוּ עִמָּהֶם שְׁתֵּי מִשְׁפָּחוֹת רָעוֹת, כְּנַעֲנִים וּמִצְרִים, אָמְרוּ מִי הוֹלֵךְ וְדָן עִמָּהֶם, אָמַר גְּבִיעָה בֶּן קוֹסֵם אֲנִי הוֹלֵךְ וְדָן עִמָּהֶם, אָמְרוּ לוֹ הִזָּהֵר שֶׁלֹא תַּחְלִיט לָהֶם אֶת הָאָרֶץ, אָמַר אֲנִי הוֹלֵךְ וְדָן עִמָּהֶם, אִם נָצַחְתִּי אוֹתָם הֲרֵי מֻטָּב, וְאִם לָאו אַתֶּם אוֹמְרִים מָה הַגָּרוּעַ הַזֶּה שֶׁיַּעֲמִיד עָלֵינוּ, הָלַךְ וְדָן עִמָּהֶם, אָמַר לָהֶם אֲלַכְּסַנְדְּרוֹס מוֹקְדוֹן מִי תּוֹבֵעַ מִיַּד מִי, אָמְרוּ יִשְׁמְעֵאלִים אָנוּ תּוֹבְעִים מִיָּדָן וּמִתּוֹרָתָן אָנוּ בָּאִים עֲלֵיהֶם, כְּתִיב (דברים כא, יז): כִּי אֶת הַבְּכֹר בֶּן הַשְּׂנוּאָה יַכִּיר, וְיִשְׁמָעֵאל בְּדִין שֶׁיִּטֹּל פִּי שְׁנַיִם. אָמַר לוֹ גְּבִיעָה בֶּן קוֹסֵם, אֲדוֹנִי הַמֶּלֶךְ, אֵין אָדָם עוֹשֶׂה מַה שֶּׁהוּא רוֹצֶה לְבָנָיו, אָמַר לוֹ הֵן, וְאָמַר לוֹ וְהָכְתִיב וַיִּתֵּן אַבְרָהָם אֶת כָּל אֲשֶׁר לוֹ לְיִצְחָק. אָמְרוּ לוֹ וְהֵיכָן שְׁטַר שִׁלּוּחַ שֶׁחִלֵּק בֵּין בָּנָיו, אָמַר לָהֶם וְלִבְנֵי הַפִּילַגְשִׁים אֲשֶׁר לְאַבְרָהָם נָתַן אַבְרָהָם מַתָּנוֹת. וְנִסְתַּלְּקוּ מִשָּׁם בְּבשֶׁת פָּנִים. אָמְרוּ כְּנַעֲנִים מִתּוֹרָתָן אָנוּ בָּאִים עֲלֵיהֶם, בְּכָל מָקוֹם כְּתִיב אַרְצָה כְּנַעַן, אֶרֶץ כְּנַעַן, יִתְּנוּ לָנוּ אֶת אַרְצֵנוּ. אָמַר לָהֶם גְּבִיעָה בֶּן קוֹסֵם, אֲדוֹנִי הַמֶּלֶךְ אֵין אָדָם עוֹשֶׂה לְעַבְדּוֹ מַה שֶּׁהוּא רוֹצֶה, אָמַר לוֹ הֵן, אָמַר מַה כְּתִיב (בראשית ט, כה): אָרוּר כְּנָעַן עֶבֶד עֲבָדִים וגו', הֲרֵי הָאָרֶץ שֶׁלָּנוּ וְהֵם עֲבָדִים לַאדוֹנִי הַמֶּלֶךְ, וְנִסְתַּלְּקוּ מִשָּׁם בְּבשֶׁת פָּנִים. אָמְרוּ מִצְרִים מִתּוֹרָתָן אָנוּ בָּאִים עֲלֵיהֶם, שִׁשִּׁים רִבּוֹא יָצְאוּ מֵאֶצְלֵנוּ טְעוּנִים כְּלֵי כֶסֶף וּכְלֵי זָהָב, דִּכְתִיב (שמות יב, לו): וַיְנַצְּלוּ אֶת מִצְרָיִם, יִתְּנוּ לָנוּ אֶת כַּסְפֵּינוּ וְאֶת זְהָבֵינוּ. אָמַר לוֹ גְּבִיעָה בֶּן קוֹסֵם אֲדוֹנִי הַמֶּלֶךְ שִׁשִּׁים רִבּוֹא בְּנֵי אָדָם עָשׂוּ אֶצְלָם מָאתַיִם וְעֶשֶׂר שָׁנִים, מֵהֶם כַּסָּפִים וּמֵהֶם זֶהָבִים שֶׁנּוֹטְלִין בִּשְׂכָרָן דִּינָר לַיּוֹם, יָשְׁבוּ פִּילוֹסוֹפִים וְחִשְּׁבוּ וְלֹא הִגִּיעוּ לְמֵאָה שָׁנָה עַד שֶׁנִּמְצֵאת אֶרֶץ מִצְרַיִם לְטִמְיוֹן, וְנִסְתַּלְקוּ מִשָּׁם בְּבשֶׁת פָּנִים. בִּקֵּשׁ לַעֲלוֹת לִירוּשָׁלַיִם אֲזַלוּן כּוּתָאי וְאָמְרוּ לֵיהּ הִזָּהֵר שֶׁאֵינָן מַנִּיחִין אוֹתְךָ לְהִכָּנֵס לְבֵית קֹדֶשׁ הַקֳּדָשִׁים שֶׁלָּהֶם, וְכֵיוָן שֶׁהִרְגִּישׁ גְּבִיעָה בֶּן קוֹסֵם, הָלַךְ וְעָשָׂה לוֹ שְׁתֵּי אַנְפִּלָּאוֹת וְנָתַן בָּהֶם שְׁתֵּי אֲבָנִים טוֹבוֹת שָׁווֹת שְׁתֵּי רִבּוֹאוֹת שֶׁל כֶּסֶף, וְכֵיוָן שֶׁהִגִּיעַ לְהַר הַבַּיִת אָמַר לוֹ אֲדוֹנִי הַמֶּלֶךְ שְׁלֹף מִנְעָלֶיךָ וּנְעֹל לָךְ שְׁתֵּי אַנְפִּלָּאוֹת, שֶׁהָרִצְפָּה חֲלָקָה שֶׁלֹא תַּחְלִּיק רַגְלֶיךָ, וְכֵיוָן שֶׁהִגִּיעַ לְבֵית קֹדֶשׁ הַקֳּדָשִׁים אָמְרוּ לוֹ עַד כָּאן יֵשׁ לָנוּ רְשׁוּת לִכָּנֵס מִכָּאן וָאֵילָךְ אֵין לָנוּ רְשׁוּת לִכָּנֵס. אָמַר לוֹ לִכְשֶׁאֵצֵא אֲנִי מַשְׁוֶה לְךָ פַּדַּחְתֶּךָ [נסח אחר: גביעתך], אָמַר לוֹ אִם כֹּה תַּעֲשֶׂה רוֹפֵא אֻמָּן תִּקָּרֵא וְשָׂכָר הַרְבֵּה תִּטֹּל. (בראשית כה, ו): וַיְשַׁלְּחֵם מֵעַל יִצְחָק בְּנוֹ, אָמַר לָהֶם כָּל מַה שֶׁאַתֶּם יְכוֹלִים לְהַזְרִיחַ תַּזְרִיחוּ, שֶׁלֹא תִּכָּווּ בְּגַחַלְתּוֹ שֶׁל יִצְחָק, אֲבָל עֵשָׂו עַל יְדֵי שֶׁבָּא וְנִזְדַּוֵּוג לְיַעֲקֹב, נָטַל אֶת שֶׁלּוֹ מִתַּחַת יָדוֹ, הֲדָא הוּא דִכְתִיב (ישעיה כג, ז ח): הֲזֹאת לָכֶם עַלִּיזָה מִימֵי קֶדֶם קַדְמָתָהּ יֹבִלוּהָ רַגְלֶיהָ מֵרָחוֹק לָגוּר מִי יָעַץ זֹאת עַל צֹר הַמַּעֲטִירָה וגו'. אָמַר רַבִּי אֶלְעָזָר כָּל צוֹר שֶׁכָּתוּב בַּמִּקְרָא מָלֵא, בְּצוֹר מְדִינָה הַכָּתוּב מְדַבֵּר. חָסֵר, בְּרוֹמִי הַכָּתוּב מְדַבֵּר. הַמַּעֲטִירָה, רַבִּי אַבָּא אָמַר הַקִּיפוּהָ בַּעֲטָרָה, וְרַבִּי יַנַּאי אָמַר בְּשֵׁם רַבִּי שִׁמְעוֹן בְּרֵיהּ דְּרַבִּי יַנַּאי הַקִּיפוּהָ כּוּבִין.
English · The Sefaria Midrash Rabbah (2022)“But to the sons of the concubines that Abraham had, Abraham gave gifts; and he sent them away from Isaac his son, during his lifetime, eastward, to the east country” (Genesis 25:6).
“But to the sons of the concubines…” – In the days of Alexander of Macedonia, the children of Ishmael came to lodge a claim against Israel regarding the birthright. Two evil families, the Canaanites and the Egyptians, came with them. They [the rabbis] said: ‘Who will go and contend with them?’ Gevia ben Kosem said: ‘I will go and contend with them.’ They told him: ‘Be careful that you do not cede the Land to them.’ He said: ‘I am going to contend with them; if I am victorious, it is well and good, and if not, you can always say: Who is this lowly person, that he should represent us?’ He went and contended with them. Alexander of Macedonia said to them: ‘Who is lodging a claim against whom?’ The Ishmaelites said: ‘We are lodging a claim against them [Israel], and it is on the basis of their own Torah that we come against them. It is written: “Rather, he shall acknowledge the firstborn, son of the hated wife [to give him a double portion]” (Deuteronomy 21:17). By right, Ishmael is entitled to receive a double portion.’ Gevia ben Kosem said to him: ‘My lord the king, may a person not do as he pleases for his owns sons?’ He said to him: ‘Yes.’ He said to him: ‘Is it not written: “Abraham gave all that was his to Isaac”?’ (Genesis 25:5). They said to him: ‘Where is the document of gifts that he divided among his sons?’ He said to them: “And to the sons of the concubines of Abraham, Abraham gave gifts.” They departed from there shamefacedly.
The Canaanites said: ‘It is on the basis of their own Torah that we come against them. It is written everywhere: “To the land of Canaan,” “the land of Canaan” – let them give us back our land.’ Gevia ben Kosem said to them: ‘My lord the king, may a person not do as he pleases with his slave?’ He said to him: ‘Yes.’ He said to him: ‘What is written? “Cursed is Canaan, a slave of slaves…. [And he said: Blessed be the Lord, God of Shem, and Canaan shall be slaves unto them]” (Genesis 9:25–26). The Land is ours and they are slaves to my lord the king.’ They departed from there shamefacedly.
The Egyptians said: ‘It is on the basis of their own Torah that we come against them. Six hundred thousand [Israelite] men departed from our midst laden with silver vessels and gold vessels, as it is written: “They stripped Egypt” (Exodus 12:36). Let them give us back our silver and our gold.’ Gevia ben Kosem said to him: ‘My lord the king, six hundred thousand people spent two hundred and ten years in their midst, among them silversmiths and among them goldsmiths, who normally receive one dinar a day as wages. The philosophers sat and calculated and did not even reach one hundred years [of labor] before the land of Egypt would be found to be bankrupt.’ They departed from there shamefacedly.
He [Alexander] once sought to ascend to Jerusalem. The Samaritans went and said to him: ‘Be aware that they will not allow you to enter their Holy of Holies.’ When Gevia ben Kosem sensed this, he went and made two felt shoes for him and placed on them two gems, each valued at twenty thousand silver dinars. When he [Alexander] reached the Temple Mount, he [Gevia] said to him: ‘My lord the king, remove your shoes and put on these felt shoes, the floor being slippery, so your feet should not slip.’ When he reached the Holy of Holies, they said to him: ‘Until here we have permission to enter; from here on, we do not have permission to enter.’ He said to him [Gevia]: ‘When I leave here, I will flatten your forehead’ [variant reading: Your hump]. He said to him: ‘If you can do that, you would be an expert doctor, and could charge a great fee.’
“And sent them away from Isaac his son [eastward, to the east country]” – he said to them: As far east as you can go, go east, so you will not be burned by Isaac’s coals. But Esau, because he came to confront Jacob, he received his punishment from him. That is what is written: “Is it for you to be jovial, like those in antiquity whose legs led them afar to live? Who devised this against Tyre [Tzor] the glorious…” (Isaiah 23:7–8). Rabbi Elazar said: Every instance of Tzor that is written in the Bible with a vav, the verse is speaking of the city of Tyre; when it is without a vav, the verse is speaking of Rome. “The glorious [ma’atira]” – Rabbi Abba said: It was surrounded [with riches] like a crown [atara]. Rabbi Yanai said in the name of Rabbi Shimon son of Rabbi Yanai: It was surrounded by thorns.