Genesis 41:25-36 NLT

25 Joseph responded, “Both of Pharaoh’s dreams mean the same thing. God is telling Pharaoh in advance what he is about to do.
26 The seven healthy cows and the seven healthy heads of grain both represent seven years of prosperity.
27 The seven thin, scrawny cows that came up later and the seven thin heads of grain, withered by the east wind, represent seven years of famine.
28 “This will happen just as I have described it, for God has revealed to Pharaoh in advance what he is about to do.
29 The next seven years will be a period of great prosperity throughout the land of Egypt.
30 But afterward there will be seven years of famine so great that all the prosperity will be forgotten in Egypt. Famine will destroy the land.
31 This famine will be so severe that even the memory of the good years will be erased.
32 As for having two similar dreams, it means that these events have been decreed by God, and he will soon make them happen.
33 “Therefore, Pharaoh should find an intelligent and wise man and put him in charge of the entire land of Egypt.
34 Then Pharaoh should appoint supervisors over the land and let them collect one-fifth of all the crops during the seven good years.
35 Have them gather all the food produced in the good years that are just ahead and bring it to Pharaoh’s storehouses. Store it away, and guard it so there will be food in the cities.
36 That way there will be enough to eat when the seven years of famine come to the land of Egypt. Otherwise this famine will destroy the land.”