23:1

וַיִּהְיוּ חַיֵּי שָׂרָה מֵאָה שָׁנָה וְעֶשְׂרִים שָׁנָה וְשֶׁבַע שָׁנִים שְׁנֵי חַיֵּי שָׂרָה׃

And the life of Sarah was one hundred years, and twenty years, and seven years: the years of the life of Sarah.

Bereshit 23:1

וַיִּהְיוּ חַיֵּי שָׂרָה

Bereshit / Genesis 23:1 · Drash

Bereshit 23:1

וַיִּהְיוּ חַיֵּי שָׂרָה מֵאָה שָׁנָה וְעֶשְׂרִים שָׁנָה וְשֶׁבַע שָׁנִים שְׁנֵי חַיֵּי שָׂרָה׃

And the life of Sarah was one hundred years, and twenty years, and seven years: the years of the life of Sarah.

Drash דְּרָשׁ

Before one sun has set

You lose someone, and it seems the world has become poorer forever. Who will stand in their place now? The midrash answers with a chain of names, from Moshe (Moses) to Sarah.

The midrash opens with the verse "the Eternal knows the days of the unblemished": as they are unblemished, so their years are unblemished. Rabbi Yochanan says of Sarah: "like that unblemished heifer". Rabbi Abba bar Kahana reads "and the sun rises, and the sun sets" so: before the Holy One, blessed is He, makes the sun of one righteous person set, He makes the sun of another rise. On the day Rabbi Akiva died Rabbeinu was born, before Eli's sun set Shmuel's (Samuel's) sun rose, and before Sarah's sun set, Rivka's (Rebecca's) sun rose. And Rabbi Akiva, to wake his dozing listeners, asked: why did Esther rule a hundred and twenty-seven provinces? Because she is a descendant of Sarah, who lived a hundred and twenty-seven years.

How Bereshit Rabbah explain it

Bereshit Rabbah And the life of Sarah was one hundred years

"The Eternal knows the days of the unblemished, and their inheritance will be forever" (Tehillim / Psalms 37:18). As they are unblemished, so their years are unblemished: at twenty as beautiful as at seven, at a hundred as free of sin as at twenty. Another reading: "the Eternal knows the days of the unblemished", this is Sarah, who was unblemished in her deeds. Said Rabbi Yochanan: like that unblemished heifer. "And their inheritance will be forever", as it says: "and the life of Sarah was".

"And the sun rises, and the sun sets" (Kohelet / Ecclesiastes 1:5). Said Rabbi Abba bar Kahana: do we not know that the sun rises and the sun sets? But before the Holy One, blessed is He, makes the sun of one righteous person set, He makes the sun of another rise. On the day Rabbi Akiva died, Rabbeinu was born, and of him they said: "and the sun rises, and the sun sets". On the day Rabbeinu died, Rav Ada bar Ahava was born, and of him they said: "and the sun rises, and the sun sets". On the day Rav Ada bar Ahava died, Rabbi Avun was born, and of him they said: "and the sun rises, and the sun sets". On the day Rabbi Avun died, Rabbi Avun his son was born. On the day Rabbi Avun died, Abba Hoshaya of Triya was born. On the day Abba Hoshaya died, Rabbi Hoshaya was born, and of him they said: "and the sun rises, and the sun sets". Before the sun of Moshe set, the sun of Yehoshua (Joshua) rose, as it says: "and the Eternal said to Moshe: take Yehoshua son of Nun" (Bamidbar / Numbers 27:18). Before the sun of Yehoshua set, the sun of Otniel son of Kenaz rose, as it says: "and Otniel son of Kenaz took it". Before the sun of Eli set, the sun of Shmuel rose: "and the lamp of the Almighty had not yet gone out, and Shmuel was lying in the sanctuary of the Eternal" (Shmuel I / I Samuel 3:3). Said Rabbi Yochanan: like that unblemished heifer. Before the Holy One, blessed is He, made the sun of Sarah set, He made the sun of Rivka rise: first "behold, Milka too has borne sons" (Bereshit / Genesis 22:20), and then "and the life of Sarah was one hundred years".

Rabbi Akiva was sitting and expounding, and the listeners were dozing. He wanted to wake them and said: why did Esther rule over a hundred and twenty-seven provinces? Let Esther, the daughter of the daughter of Sarah, who lived a hundred and twenty-seven years, come and rule over a hundred and twenty-seven provinces.

Takeaway

"The Eternal knows the days of the unblemished": a verse from the psalm about the righteous whom the Eternal does not abandon in days of famine (Tehillim / Psalms 37:18). The word "unblemished" (תָּמִים) the midrash applies both to the person and to their years: they are whole, without flaw.
"Like that unblemished heifer": the word "unblemished" (תְּמִימָה) is said of a sacrificial animal without defect (Bamidbar / Numbers 19:2). Rabbi Yochanan so names Sarah. The midrash repeats the same words of his after the verse about Shmuel: in Midrash Shmuel they are said of the boy who ran to Eli at the call (Midrash Shmuel 9).
Rabbeinu, "our teacher", is how the sages call Rabbi Yehudah HaNasi, the compiler of the Mishnah. The tradition that he was born on the day Rabbi Akiva died is in the Talmud too (Kiddushin 72b).
"And Otniel son of Kenaz took it": so it is said of how Otniel took the city of Kiryat Sefer and received Achsah, the daughter of Kalev (Caleb), as his wife (Yehoshua / Joshua 15:16–17, Shoftim / Judges 1:12–13).
"And the lamp of the Almighty had not yet gone out": so begins the story of the night when the Eternal first called the boy Shmuel in the sanctuary where old Eli served (Shmuel I / I Samuel 3:3). The midrash reads it so: Eli's lamp had not yet gone out, and Shmuel was already in the sanctuary.
"Behold, Milka too has borne sons": the news of the children of Nachor, the brother of Avraham (Abraham), comes right after the binding of Yitzchak (Isaac), and among the grandchildren Rivka is named (Bereshit / Genesis 22:20–23). After this list the Torah counts Sarah's years and tells of her death (Bereshit / Genesis 23:1–2).
A hundred and twenty-seven provinces: the kingdom of Achashverosh (Ahasuerus) "from India to Kush" (Esther 1:1). Esther is called "the daughter of the daughter" of Sarah, that is her descendant, and the number of provinces equals the number of Sarah's years.