Genesis 47:9-19

9 Jacob said to Pharaoh, "The years of my earthly sojourn are one hundred thirty; few and hard have been the years of my life. They do not compare with the years of the life of my ancestors during their long sojourn."
10 Then Jacob blessed Pharaoh, and went out from the presence of Pharaoh.
11 Joseph settled his father and his brothers, and granted them a holding in the land of Egypt, in the best part of the land, in the land of Rameses, as Pharaoh had instructed.
12 And Joseph provided his father, his brothers, and all his father's household with food, according to the number of their dependents.
13 Now there was no food in all the land, for the famine was very severe. The land of Egypt and the land of Canaan languished because of the famine.
14 Joseph collected all the money to be found in the land of Egypt and in the land of Canaan, in exchange for the grain that they bought; and Joseph brought the money into Pharaoh's house.
15 When the money from the land of Egypt and from the land of Canaan was spent, all the Egyptians came to Joseph, and said, "Give us food! Why should we die before your eyes? For our money is gone."
16 And Joseph answered, "Give me your livestock, and I will give you food in exchange for your livestock, if your money is gone."
17 So they brought their livestock to Joseph; and Joseph gave them food in exchange for the horses, the flocks, the herds, and the donkeys. That year he supplied them with food in exchange for all their livestock.
18 When that year was ended, they came to him the following year, and said to him, "We can not hide from my lord that our money is all spent; and the herds of cattle are my lord's. There is nothing left in the sight of my lord but our bodies and our lands.
19 Shall we die before your eyes, both we and our land? Buy us and our land in exchange for food. We with our land will become slaves to Pharaoh; just give us seed, so that we may live and not die, and that the land may not become desolate."
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.