Genesis 47:28

28 Jacob lived in the land of Egypt seventeen years; so the days of Jacob, the years of his life, were one hundred forty-seven years.

Genesis 47:28 In-Context

26 So Joseph made it a statute concerning the land of Egypt, and it stands to this day, that Pharaoh should have the fifth. The land of the priests alone did not become Pharaoh's.
27 Thus Israel settled in the land of Egypt, in the region of Goshen; and they gained possessions in it, and were fruitful and multiplied exceedingly.
28 Jacob lived in the land of Egypt seventeen years; so the days of Jacob, the years of his life, were one hundred forty-seven years.
29 When the time of Israel's death drew near, he called his son Joseph and said to him, "If I have found favor with you, put your hand under my thigh and promise to deal loyally and truly with me. Do not bury me in Egypt.
30 When I lie down with my ancestors, carry me out of Egypt and bury me in their burial place." He answered, "I will do as you have said."
New Revised Standard Version Bible, copyright 1989, Division of Christian Education of the National Council of the Churches of Christ in the United States of America. Used by permission. All rights reserved.