Genesis 41:14-36

14 aThen Pharaoh sent and called Joseph, and they bquickly brought him cout of the pit. And when he had shaved himself and changed his clothes, he came in before Pharaoh. 15And Pharaoh said to Joseph, “I have had a dream, and there is no one who can interpret it. dI have heard it said of you that when you hear a dream you can interpret it.” 16Joseph answered Pharaoh, e“It is not in me; fGod will give Pharaoh a favorable answer.”
Or (compare Samaritan, Septuagint) Without God it is not possible to give Pharaoh an answer about his welfare
17Then Pharaoh said to Joseph, “Behold, hin my dream I was standing on the banks of the Nile. 18Seven cows, plump and attractive, came up out of the Nile and fed in the reed grass. 19Seven other cows came up after them, poor and very ugly and thin, such as I had never seen in all the land of Egypt. 20And the thin, ugly cows ate up the first seven plump cows, 21but when they had eaten them no one would have known that they had eaten them, for they were still as ugly as at the beginning. Then I awoke. 22I also saw in my dream seven ears growing on one stalk, full and good. 23Seven ears, withered, thin, and blighted by the east wind, sprouted after them, 24and the thin ears swallowed up the seven good ears. And iI told it to the magicians, but there was no one who could explain it to me.”

25Then Joseph said to Pharaoh, “The dreams of Pharaoh are one; jGod has revealed to Pharaoh what he is about to do. 26The seven good cows are seven years, and the seven good ears are seven years; the dreams are one. 27The seven lean and ugly cows that came up after them are seven years, and the seven empty ears blighted by the east wind are also kseven years of famine. 28It is as I told Pharaoh; lGod has shown to Pharaoh what he is about to do. 29There will come mseven years of great plenty throughout all the land of Egypt, 30but after them there will arise nseven years of famine, and all the plenty will be forgotten in the land of Egypt. oThe famine will consume the land, 31and the plenty will be unknown in the land by reason of the famine that will follow, for it will be very severe. 32And the doubling of Pharaoh’s dream means that the pthing is fixed by God, and God will shortly bring it about. 33Now therefore let Pharaoh select a discerning and wise man, and set him over the land of Egypt. 34Let Pharaoh proceed to appoint overseers over the land and take one-fifth of the produce of the land
Or  over the land and organize the land
of Egypt during the seven plentiful years.
35And rlet them gather all the food of these good years that are coming and store up grain under the authority of Pharaoh for food in the cities, and let them keep it. 36That food shall be a reserve for the land against the seven years of famine that are to occur in the land of Egypt, so that the land may not perish through the famine.”

Copyright information for ESV