Genesis 41:39-41

39 So Pharaoh said to Joseph, "Since God has shown you all this, there is no one so discerning and wise as you.
40 You shall be over my house, and all my people shall order themselves as you command; only with regard to the throne will I be greater than you."
41 And Pharaoh said to Joseph, "See, I have set you over all the land of Egypt."