Genesis 47:25-31

47:25 They replied, “You have saved our lives! You are showing us favor, and we will be Pharaoh’s slaves.”

47:26 So Joseph made it a statute, which is in effect to this day throughout the land of Egypt: One-fifth belongs to Pharaoh. Only the land of the priests did not become Pharaoh’s.

47:27 Israel settled in the land of Egypt, in the land of Goshen, and they owned land there. They were fruitful and increased rapidly in number.

47:28 Jacob lived in the land of Egypt seventeen years; the years of Jacob’s life were 147 in all. 47:29 The time for Israel to die approached, so he called for his son Joseph and said to him, “If now I have found favor in your sight, put your hand under my thigh and show me kindness and faithfulness. Do not bury me in Egypt, 47:30 but when I rest with my fathers, carry me out of Egypt and bury me in their burial place.” Joseph said, “I will do as you say.”

47:31 Jacob said, “Swear to me that you will do so.” So Joseph gave him his word. Then Israel bowed down at the head of his bed.