21:1

וַיהוָה פָּקַד אֶת־שָׂרָה כַּאֲשֶׁר אָמָר וַיַּעַשׂ יְהוָה לְשָׂרָה כַּאֲשֶׁר דִּבֵּר׃

And the Eternal remembered Sarah as He had said, and the Eternal did for Sarah as He had spoken.

Bereshit 21:1

וַיהוָה פָּקַד אֶת־שָׂרָה

Bereshit / Genesis 21:1

וַיהוָה פָּקַד אֶת־שָׂרָה כַּאֲשֶׁר אָמָר וַיַּעַשׂ יְהוָה לְשָׂרָה כַּאֲשֶׁר דִּבֵּר׃

And the Eternal remembered Sarah as He had said, and the Eternal did for Sarah as He had spoken.

Pshat פְּשָׁט

As He said, as He spoke

Rashi: whoever asks for mercy for another while needing the same thing is answered first. "As He had said" is the conception, "as He had spoken" the birth: it was said in the promise to Avraham (17:19), spoken at the covenant between the pieces (15:4). Sforno: "as He had said" means He lifted from Sarah the curse of Chava (Eve). "As He had spoken" means He gave her a son, although in old age daughters are usually born.

How Rashi and Sforno explain it

Remez רֶמֶז

He and His court

Chizkuni: wherever it says "and the Eternal", it is He and His court. The court weighed Sarah's case: she had been in a stranger's house and stayed pure, and the Torah promises such a woman offspring. The particle et adds: together with Sarah, He remembered all barren women. Kli Yakar: "remembered" is only memory, while "did" is real action. And "spoke" expresses more love than "said".

How Chizkuni and Kli Yakar explain it

Drash דְּרָשׁ

The dry tree blossomed

Bereshit Rabbah: people are the trees of the field. The high tree brought low is Avimelech, the low tree raised up is Avraham. The green tree dried up is Avimelech's wives, whose wombs were closed. The dry tree that blossomed is Sarah. And above all: "I the Eternal have spoken and done it." Not like people who say and do not do.

How Bereshit Rabbah explain it

Sod סוֹד

A miracle without deduction

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