Bereshit / Genesis 25:17 · Pshat
וְאֵלֶּה שְׁנֵי חַיֵּי יִשְׁמָעֵאל מְאַת שָׁנָה וּשְׁלֹשִׁים שָׁנָה וְשֶׁבַע שָׁנִים וַיִּגְוַע וַיָּמָת וַיֵּאָסֶף אֶל־עַמָּיו׃
And these are the years of the life of Yishmael: one hundred years, and thirty years, and seven years. And he expired and died, and was gathered to his people.
Pshat פְּשָׁט
Why Yishmael's years are counted
The Torah counts the years of Yishmael's life just as it counts Sarah's and Avraham's. Why? Rashi answers with a reckoning that reaches Yaakov, and notes a word said only of the righteous.
Rashi brings the words of Rabbi Chiya bar Abba: Yishmael's (Ishmael's) years are counted so that Yaakov's (Jacob's) years can be reckoned by them. From them we learn that Yaakov served fourteen years in the house of Ever when he left his father and had not yet come to Lavan: for when Yaakov left his father, Yishmael died, as it is said "and Esav went to Yishmael", and this is explained at the end of the chapter "Megillah is read". And the word "expired" (וַיִּגְוַע) the Torah says only of the righteous. Radak gives his own answer: Yishmael's years are mentioned for the honour of Avraham, and he adds the reckoning of the sages, who say these years are needed only to reckon Yaakov's years.
How Rashi and Radak explain it
Rashi And these are the years of the life of Yishmael, and so on
Said Rabbi Chiya bar Abba: why are Yishmael's years counted? So as to reckon by them the years of Yaakov. From Yishmael's years we learned that Yaakov served in the house of Ever fourteen years when he left his father, before he came to Lavan. For when Yaakov left his father, Yishmael died, as it is said: "and Esav went to Yishmael, and so on" (Bereshit / Genesis 28:9), (Bereshit Rabbah), as explained at the end of the chapter "Megillah is read".
And he expired.
The word "expired" is said only of the righteous.
Radak And these are the years
It mentioned his years for the honour of Avraham, as we wrote. And by the words of our teachers, of blessed memory (Megillah 17a), his years were mentioned only to reckon by them the years of Yaakov.
Takeaway
Rashi's reckoning by the Talmud (Megillah 17a). Yishmael was born when Avraham was eighty-six (Bereshit / Genesis 16:16), lived a hundred and thirty-seven, so died when Yitzchak (Isaac) was a hundred and twenty-three, and Yaakov, born to the sixty-year-old Yitzchak (Bereshit / Genesis 25:26), sixty-three. That year Yaakov left home. And he came to Lavan at seventy-seven: Yaakov was a hundred and thirty when he met Pharaoh (Bereshit / Genesis 47:9), Yosef (Joseph) was then thirty-nine, so Yosef was born when Yaakov was ninety-one, and Yosef was born at the end of the fourteen years of service (Bereshit / Genesis 30:25). Between sixty-three and seventy-seven are fourteen years, and the sages say Yaakov spent them learning with Ever, great-grandson of Shem.
"And Esav went to Yishmael, and took Machalat, daughter of Yishmael, sister of Nevayot" (Bereshit / Genesis 28:9): if Yishmael was alive, why name the bride's brother? The sages read: Yishmael betrothed his daughter and died, and her brother Nevayot gave her in marriage. So from an extra name they derive the year of Yishmael's death, and from it the whole reckoning.
"Expired" (וַיִּגְוַע): the Torah says this word of Avraham (Bereshit / Genesis 25:8), of Yitzchak (Bereshit / Genesis 35:29), of Yaakov (Bereshit / Genesis 49:33), and the sages conclude that Yishmael died righteous, having repented (Bava Batra 16b). Ramban on the level of remez examines what exactly this word means and why it is said also of the generation of the flood.
"For the honour of Avraham": Radak on the previous verse explains that the Torah lists Yishmael's sons and the years of his life because he is Avraham's son, and the promise "and of the son of the maidservant I will make a nation" (Bereshit / Genesis 21:13) must be shown fulfilled. For Radak this is the plain sense, and the reckoning of Yaakov's years he brings as the word of the sages.