Genesis 47:28 – 48:9
Jacob lived seventeen years in the land of Egypt, so that the span of Jacob's life came to one hundred and forty-seven years. And when the time approached for Israel to die, he summoned his son Joseph and said to him, "Do me this favor, place your hand under my thigh as a pledge of your steadfast loyalty: please do not bury me in Egypt. When I lie down with my fathers, take me up from Egypt and bury me in their burial-place." He replied, "I will do as you have spoken." And he said, "Swear to me." And he swore to him. Then Israel bowed at the head of the bed.
Some time afterward, Joseph was told, "Your father is ill." So he took with him his two sons, Manasseh and Ephraim. When Jacob was told, "Your son Joseph has come to see you," Israel summoned his strength and sat up in bed.
And Jacob said to Joseph, "El Shaddai appeared to me at Luz in the land of Canaan, and He blessed me, and said to me, 'I will make you fertile and numerous, making of you a community of peoples; and I will assign this land to your offspring to come for an everlasting possession.' Now, your two sons, who were born to you in the land of Egypt before I came to you in Egypt, shall be mine; Ephraim and Manasseh shall be mine no less than Reuben and Simeon.
"But progeny born to you after them shall be yours; they shall be recorded instead of their brothers in their inheritance. I [do this because], when I was returning from Paddan, Rachel died, to my sorrow, while I was journeying in the land of Canaan, when still some distance short of Ephrath; and I buried her there on the road to Ephrath"--now Bethlehem.
Noticing Joseph's sons, Israel asked, "Who are these?" And Joseph said to his father, "They are my sons, whom God has given me here." "Bring them up to me," he said, "that I may bless them."