Genesis 41-42:6 NASB
25 Now Joseph said to Pharaoh, "Pharaoh's dreams are one and the same; God has told to Pharaoh what He is about to do. 26 The seven good cows are seven years; and the seven good ears are seven years; the dreams are one and the same. 27 The seven lean and ugly cows that came up after them are seven years, and the seven thin ears scorched by the east wind will be seven years of famine. 28 It is as I have spoken to Pharaoh: God has shown to Pharaoh what He is about to do. 29 Behold, seven years of great abundance are coming in all the land of Egypt; 30 and after them seven years of famine will come, and all the abundance will be forgotten in the land of Egypt, and the famine will ravage the land. 31 So the abundance will be unknown in the land because of that subsequent famine; for it will be very severe. 32 Now as for the repeating of the dream to Pharaoh twice, it means that the matter is determined by God, and God will quickly bring it about. 33 Now let Pharaoh look for a man discerning and wise, and set him over the land of Egypt. 34 Let Pharaoh take action to appoint overseers in charge of the land, and let him exact a fifth of the produce of the land of Egypt in the seven years of abundance. 35 Then let them gather all the food of these good years that are coming, and store up the grain for food in the cities under Pharaoh's authority, and let them guard it. 36 Let the food become as a reserve for the land for the seven years of famine which will occur in the land of Egypt, so that the land will not perish during the famine."
50 Now before the year of famine came, two sons were born to Joseph, whom Asenath, the daughter of Potiphera priest of On, bore to him. 51 Joseph named the firstborn Manasseh, "For," he said, "God has made me forget all my trouble and all my father's household." 52 He named the second Ephraim, "For," he said, "God has made me fruitful in the land of my affliction." 53 When the seven years of plenty which had been in the land of Egypt came to an end, 54 and the seven years of famine began to come, just as Joseph had said, then there was famine in all the lands, but in all the land of Egypt there was bread. 55 So when all the land of Egypt was famished, the people cried out to Pharaoh for bread; and Pharaoh said to all the Egyptians, "Go to Joseph; whatever he says to you, you shall do." 56 When the famine was spread over all the face of the earth, then Joseph opened all the storehouses, and sold to the Egyptians; and the famine was severe in the land of Egypt. 57 The people of all the earth came to Egypt to buy grain from Joseph, because the famine was severe in all the earth.
1 Now Jacob saw that there was grain in Egypt, and Jacob said to his sons, "Why are you staring at one another?" 2 He said, "Behold, I have heard that there is grain in Egypt; go down there and buy some for us from that place, so that we may live and not die." 3 Then ten brothers of Joseph went down to buy grain from Egypt. 4 But Jacob did not send Joseph's brother Benjamin with his brothers, for he said, "I am afraid that harm may befall him." 5 So the sons of Israel came to buy grain among those who were coming, for the famine was in the land of Canaan also. 6 Now Joseph was the ruler over the land; he was the one who sold to all the people of the land. And Joseph's brothers came and bowed down to him with their faces to the ground.