Genesis Chapter 41 Verse 55 - 57
55.) And when all the land of Egypt was famished, the people cried to Pharaoh for bread: and Pharaoh said unto all the Egyptians, Go unto Joseph; what he saith to you, do.
56.) And the famine was over all the face of the earth: and Joseph opened all the storehouses, and sold unto the Egyptians; and the famine waxed sore in the land of Egypt.
57.) And all countries came into Egypt to Joseph for to buy corn; because that the famine was so sore in all lands.