Bereshit / Genesis 21:1 · Sod
וַיהוָה פָּקַד אֶת־שָׂרָה כַּאֲשֶׁר אָמָר וַיַּעַשׂ יְהוָה לְשָׂרָה כַּאֲשֶׁר דִּבֵּר׃
And the Eternal remembered Sarah as He had said, and the Eternal did for Sarah as He had spoken.
Sod סוֹד
A miracle without deduction
Why does the Eternal first promise and only then act? He could simply have given Sarah a son. A Chasidic teacher answers: here the promise protects the merits of the righteous.
Kedushat Levi: the sages said that when a miracle is done for a person, it is deducted from his merits. A son in old age was a miracle, and the Eternal did not want it to cost Avraham and Sarah their merits. So He promised first. And what is done to keep a promise is not deducted: the King's word has already gone out, and He is only keeping it.
How Kedushat Levi explain it
Kedushat Levi
Or it may be explained: "And the Eternal remembered Sarah as He had said, and the Eternal did for Sarah as He had spoken" (21:1). Let us explain the doubled language (see Rashi). Our teachers, of blessed memory, said: when the Eternal does a miracle for a person, it is deducted from his merits. When the Eternal remembered Sarah, it was a miracle that they would have a son in their old age. And He wanted it not to be deducted from their merits. So He promised them a son beforehand, as the verse says. And then, when the Eternal remembered and fulfilled that they would have a son, by law it is no longer deducted from their merits: for what He gave them was the keeping of His promise. But had He not promised beforehand, then in giving them a son He would have deducted it from their merits. That is the meaning of "And the Eternal remembered Sarah as He had said", that is, as He had already promised them a son. And lest you ask why the promise was needed, the verse explains: "And the Eternal did for Sarah as He had spoken". That is, this deed was done as He had spoken, to keep His promise, and so it followed of itself that their merits were not deducted. For the deed was done to keep the promise, and by law nothing is deducted for the deed that gave them a son: the King's word, as it were, has already gone out, and His promise must be kept for good. Understand this.
Takeaway
The idea that a miracle is "deducted" from a person's merits comes from the Talmud (Shabbat 32a): that is why the righteous do not like to rely on miracles.
Kedushat Levi is the book of Rabbi Levi Yitzchak of Berditchev, one of the most beloved Chasidic teachers, "the defender of Israel".
"The word went out of the king's mouth" is a phrase from the book of Esther (7:8). Kedushat Levi applies it to the King of the world: His promise has already been spoken.