Bereshit / Genesis 12:17 · Sod
וַיְנַגַּע יְהוָה אֶת־פַּרְעֹה נְגָעִים גְּדֹלִים וְאֶת־בֵּיתוֹ עַל־דְּבַר שָׂרַי אֵשֶׁת אַבְרָם׃
And the Eternal struck Pharaoh and his house with great plagues, because of Sarai, Avram's wife.
Sod סוֹד
The first plagues of Egypt
Hundreds of years later the Eternal will strike Pharaoh again, when He brings Avram's descendants out of Egypt. A Hasidic teacher sees in the plagues of this verse the start of that story.
Be'er Mayim Chaim: the patriarchs are a sign for their children. At the Exodus open miracles were needed, so that all nations would know that Israel is the seed the Eternal blessed. So with Avraham too the miracle was open. Open miracles belong to the name the Eternal (ה׳), while the name the Almighty (אֱלֹהִים) belongs to nature: "nature" (הַטֶּבַע) equals "the Almighty" in number. It says "and the Eternal struck", and everyone cried "because of Sarai": even wicked Pharaoh saw an open miracle, for the road was being paved for Avraham's children.
How Be'er Mayim Chaim explain it
Be'er Mayim Chaim
But the patriarchs were a sign for the children. And there, when Israel went out of Egypt, wondrous and open miracles had to be done for them, so that by them the people of Israel would be set apart from all the peoples under the heavens, and all who see them would recognize that they are the seed the Eternal has blessed, and all the nations would hear of them and tremble and quake before them, as the verse says: "for we have heard how the Eternal dried up the waters of the Sea of Reeds" and so on (Yehoshua / Joshua 2:10), and Yitro said: "now I know" and so on. Therefore now too, with Avraham, who was a sign for the children, the thing was done by an open miracle, so that all would know that the Eternal is the Almighty. And we have written elsewhere that all open miracles are called by the name of the Eternal (ה׳), which gives being to all, and not by the name the Almighty (אלהים), which points to contraction and to nature, for "nature" (הטבע) in gematria is "the Almighty" (אלהים).
Be'er Mayim Chaim
And therefore the verse says here "and the Eternal struck Pharaoh", that is, the verse speaks as if in wonder: it is something new that the plagues came upon Pharaoh in the aspect of the Eternal (ה׳), who gives being, by an open miracle. And the proof is that it was "because of Sarai, Avram's wife": for the angels and the beams of his house all cried "because of Sarai". And it is a great novelty to work a famous miracle through wicked Pharaoh, were it not for paving the road for his children's children, as said. But in truth "and the Eternal struck" means that the plagues came to him through the Eternal's angels, as said in the midrash and in the holy Zohar mentioned above, and not from Him Himself (and see Bereshit Rabbah 51:2, on the verse "and the Eternal rained upon Sedom").
Takeaway
The count: "nature" (הַטֶּבַע) is 5 + 9 + 2 + 70 = 86, "the Almighty" (אֱלֹהִים) is 1 + 30 + 5 + 10 + 40 = 86.
Ramban teaches the same rule: "all that happened to the patriarchs is a sign for the children" (Ramban on 12:6). Avram went down to Egypt because of a famine (12:10), as Yaakov and his sons would later.
Before the last plague the Eternal will say to Moshe: "one more plague (נֶגַע) will I bring upon Pharaoh and upon Egypt" (Shemot / Exodus 11:1). It is the same word as "and He struck" (וַיְנַגַּע) in our verse.