וַיְחִ֣י מְתוּשֶׁ֔לַח שֶׁ֧בַע וּשְׁמֹנִ֛ים שָׁנָ֖ה וּמְאַ֣ת שָׁנָ֑ה וַיּ֖וֹלֶד אֶת־לָֽמֶךְ׃
Mathusalem, ayant vécu cent quatre-vingt-sept ans, engendra Lamec.
Rashi
ויקרא שמו יעקב AND HE CALLED HIS NAME JACOB — The Holy One, blessed be He, thus named him (Midrash Tanchuma, Shemot 4). [Some versions add: He said to them (to those who gave Esau that name cf. Genesis 5:25): You have given your first-born a name, I, too, will give my son, my firstborn, (cf. Exodus 4:23) a name. That is what is written, “And He called his name, Jacob” (Genesis 26:26).] Another explanation is: his father called him Jacob because he was grasping Esau’s heel.