Genesis 41:39

Then Pharaoh said to Joseph, "Inasmuch as God has shown you all this, there is no one as discerning and wise as you.