Genesis 41:19-39

19 and seven other cows came up after them, poor and very gaunt and thin, such as I had never seen in all the land of Egypt.
20 And the thin and gaunt cows ate up the first seven fat cows,
21 but when they had eaten them no one would have known that they had eaten them, for they were still as gaunt as at the beginning. Then I awoke.
22 I also saw in my dream seven ears growing on one stalk, full and good;
23 and seven ears, withered, thin, and blighted by the east wind, sprouted after them,
24 and the thin ears swallowed up the seven good ears. And I told it to the magicians, but there was no one who could explain it to me."
25 Then Joseph said to Pharaoh, "The dream of Pharaoh is one; God has revealed 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 dream is one.
27 The seven lean and gaunt cows that came up after them are seven years, and the seven empty ears blighted by the east wind are also seven years of famine.
28 It is as I told Pharaoh, God has shown to Pharaoh what he is about to do.
29 There will come seven years of great plenty throughout all the land of Egypt,
30 but after them there will arise seven years of famine, and all the plenty will be forgotten in the land of Egypt; the famine will consume the land,
31 and the plenty will be unknown in the land by reason of that famine which will follow, for it will be very grievous.
32 And the doubling of Pharaoh's dream means that the thing is fixed by God, and God will shortly bring it to pass.
33 Now therefore let Pharaoh select a man discreet and wise, and set him over the land of Egypt.
34 Let Pharaoh proceed to appoint overseers over the land, and take the fifth part of the produce of the land of Egypt during the seven plenteous years.
35 And let them gather all the food of these good years that are coming, and lay up grain under the authority of Pharaoh for food in the cities, and let them keep it.
36 That food shall be a reserve for the land against the seven years of famine which are to befall the land of Egypt, so that the land may not perish through the famine."
37 This proposal seemed good to Pharaoh and to all his servants.
38 And Pharaoh said to his servants, "Can we find such a man as this, in whom is the Spirit of God?"
39 So Pharaoh said to Joseph, "Since God has shown you all this, there is none so discreet and wise as you are;
Revised Standard Version of the Bible, copyright 1952 [2nd edition, 1971] by the 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.