26:18

וַיָּשָׁב יִצְחָק וַיַּחְפֹּר אֶת־בְּאֵרֹת הַמַּיִם אֲשֶׁר חָפְרוּ בִּימֵי אַבְרָהָם אָבִיו וַיְסַתְּמוּם פְּלִשְׁתִּים אַחֲרֵי מוֹת אַבְרָהָם וַיִּקְרָא לָהֶן שֵׁמוֹת כַּשֵּׁמֹת אֲשֶׁר־קָרָא לָהֶן אָבִיו׃

And Yitzchak dug again the wells of water that had been dug in the days of Avraham his father, which the Philistines had stopped up after Avraham's death. And he gave them the same names his father had given them.

Bereshit 26:18

וַיָּשָׁב יִצְחָק וַיַּחְפֹּר

Bereshit / Genesis 26:18 · Remez

Bereshit 26:18

וַיָּשָׁב יִצְחָק וַיַּחְפֹּר אֶת־בְּאֵרֹת הַמַּיִם אֲשֶׁר חָפְרוּ בִּימֵי אַבְרָהָם אָבִיו וַיְסַתְּמוּם פְּלִשְׁתִּים אַחֲרֵי מוֹת אַבְרָהָם וַיִּקְרָא לָהֶן שֵׁמוֹת כַּשֵּׁמֹת אֲשֶׁר־קָרָא לָהֶן אָבִיו׃

And Yitzchak dug again the wells of water that had been dug in the days of Avraham his father, which the Philistines had stopped up after Avraham's death. And he gave them the same names his father had given them.

Remez רֶמֶז

Three wells, three Temples

Sometimes a long story about small things turns out to be a map of the future. Ramban asks why the Torah tells of the wells in such detail, and sees in their names the whole history of the Temple.

Ramban asks: why does the Torah tell of the wells at such length, if in the plain sense there is neither benefit in it nor special honour for Yitzchak (Isaac), since his father did the same? The answer: the story hides the future. "A well of living water" hints at the House of the Almighty that Yitzchak's sons will build. The first well, Esek (עֵשֶׂק, "contention"), is the First Temple, over which they contended with us until they destroyed it. The second, Sitnah (שִׂטְנָה, "enmity"), is the Second Temple, against which "an accusation was written", and the third, Rechovot (רְחֹבוֹת, "wide spaces"), is the future Temple, which will be built without strife.

How Ramban explain it

Ramban And he called the well Esek

The Torah tells and speaks at length about the wells, yet in the plain sense of the story there is neither benefit nor great honour for Yitzchak, since he and his father did them alike. But there is a hidden matter in it: it comes to make known the future. "A well of living water" hints at the House of the Almighty that the sons of Yitzchak will build, and that is why it says "a well of living water", as it says: "the source of living water, the Eternal" (Yirmeyahu / Jeremiah 17:13).
The first he called Esek: this hints at the First Temple, over which they contended (הִתְעַשְּׂקוּ) with us and waged many disputes and many wars against us until they destroyed it. The second he called Sitnah, a harsher name than the first: this is the Second Temple, which he called by the word written of it: "And in the reign of Achashverosh, at the beginning of his reign, they wrote an accusation (שִׂטְנָה) against the inhabitants of Yehudah and Jerusalem" (Ezra 4:6). And all its days it was an enmity to us, until they destroyed it and we went from it into a bitter exile.
The third he called Rechovot: this is the future Temple, which will be built soon, in our days. It will be made without quarrel and strife, and God will widen our borders, as it says: "And when the Eternal your Almighty widens your borders, as He spoke" (Devarim / Deuteronomy 19:8) and so on, which is said of the future. And it is written of the third Temple: "And it widened and wound round higher and higher" (Yechezkel / Ezekiel 41:7). "And we will be fruitful in the land": all the peoples will serve Him with one accord.

Takeaway

The names of the wells in Hebrew: Esek (עֵשֶׂק) from "to contend" (הִתְעַשְּׂקוּ, Bereshit / Genesis 26:20), Sitnah (שִׂטְנָה) "enmity, accusation", Rechovot (רְחֹבוֹת) from "wide" (רָחָב). Ramban builds his hint on these words.
The "accusation" in the book of Ezra (Ezra 4:6) is also שִׂטְנָה in Hebrew: the enemies of the Jews wrote to the king of Persia against those who returned to build the Second Temple. One word links the well and the Temple.
"The source of living water, the Eternal" (Yirmeyahu / Jeremiah 17:13): the prophet calls God by this name, whom the people had forsaken. Hence Ramban's "well of living water" as a hint at the House of the Almighty.
"And it widened and wound round higher and higher" (Yechezkel / Ezekiel 41:7): from Yechezkel's (Ezekiel's) vision of the future Temple. The word "widened" (וְרָחֲבָה) is of the same root as Rechovot.
"All the peoples will serve Him with one accord": Ramban uses the words of the prophet Tzefanyah (Zephaniah): "to serve Him with one accord" (Tzefanyah / Zephaniah 3:9).