26:24

וַיֵּרָא אֵלָיו יְהוָה בַּלַּיְלָה הַהוּא וַיֹּאמֶר אָנֹכִי אֱלֹהֵי אַבְרָהָם אָבִיךָ אַל־תִּירָא כִּי־אִתְּךָ אָנֹכִי וּבֵרַכְתִּיךָ וְהִרְבֵּיתִי אֶת־זַרְעֲךָ בַּעֲבוּר אַבְרָהָם עַבְדִּי׃

And the Eternal appeared to him that night and said: "I am the God of Avraham your father. Do not be afraid, for I am with you, and I will bless you and multiply your seed for the sake of Avraham My servant."

Bereshit 26:24

וַיֵּרָא אֵלָיו יְהוָה

Bereshit / Genesis 26:24 · Drash

Bereshit 26:24

וַיֵּרָא אֵלָיו יְהוָה בַּלַּיְלָה הַהוּא וַיֹּאמֶר אָנֹכִי אֱלֹהֵי אַבְרָהָם אָבִיךָ אַל־תִּירָא כִּי־אִתְּךָ אָנֹכִי וּבֵרַכְתִּיךָ וְהִרְבֵּיתִי אֶת־זַרְעֲךָ בַּעֲבוּר אַבְרָהָם עַבְדִּי׃

And the Eternal appeared to him that night and said: "I am the God of Avraham your father. Do not be afraid, for I am with you, and I will bless you and multiply your seed for the sake of Avraham My servant."

Drash דְּרָשׁ

For the sake of Avraham My servant

Sometimes what protects you is not your own merit but what someone did before you. The midrashim explain why Avraham is called "My servant" and why this word sounds just when Yitzchak fears strangers.

Lekach Tov says that night is the time set for a vision, and Yitzchak (Isaac) was afraid because the nations had begun to envy him. "For the sake of Avraham My servant", that is, the one who obeyed Me when I said "go to the land of Moriah", and did not question My ways. Midrash Tanchuma reads the verse "who fulfils the word of His servant" (Yeshayahu / Isaiah 44:26) as speaking of Avraham: he is called "My servant" for praying for Avimelech. Now that same Avimelech and his people press Yitzchak, and God reminds him for whose sake He is with him.

How Midrash Lekach Tov and Midrash Tanchuma explain it

Midrash Lekach Tov And the Eternal appeared to him that night

The time set for a vision.

Do not be afraid.
For he was afraid that the nations had begun to envy him. "For the sake of Avraham My servant", who obeyed My voice when I said to him: "Go to the land of Moriah", and did not question My ways.

Midrash Tanchuma "And the Eternal remembered Sarah."

This is what the verse says: "Who fulfils the word of His servant and accomplishes the counsel of His messengers" (Yeshayahu / Isaiah 44:26). "Who fulfils the word of His servant": this is Avraham, as it says: "for the sake of Avraham My servant" (Bereshit / Genesis 26:24), because he prayed for Avimelech, as it says: "And Avraham prayed to the Almighty" (Bereshit / Genesis 20:17). "And accomplishes the counsel of His messengers": because the angels announced it to him, as it says: "I will surely return to you at this time next year" (Bereshit / Genesis 18:10).

Takeaway

Midrash Tanchuma begins from another verse, "and the Eternal remembered Sarah" (Bereshit / Genesis 21:1): Sarah bore Yitzchak right after Avraham prayed for Avimelech and his household (Bereshit / Genesis 20:17–18). Hence "the word of His servant", which God fulfilled.
Avraham and Avimelech: Avimelech took Sarah, God closed the wombs of his household, and Avraham prayed for him, and they were healed (Bereshit / Genesis 20). The midrash links the title "My servant" in our verse with that prayer.
"Go to the land of Moriah" (Bereshit / Genesis 22:2): the command to bring Yitzchak onto the altar. Lekach Tov says Avraham is called a servant for not questioning even then, and that title now protects Yitzchak himself.
"Messengers" (מַלְאָכִים) in Isaiah's verse also means "angels". The midrash reads it so: the angels who came to Avraham announced Yitzchak's birth.
Lekach Tov: a book of midrashim by Rabbi Tuvia ben Eliezer (11th century), gathered in the order of the verses of the Torah.