God hath showed thee all this, i.e. hath given thee this extraordinary gift of foreseeing and foretelling things to come, and of giving such sage advice for the future.
Related Commentaries of Genesis 41:39
Genesis 41:39
39 And Pharaoh said unto Joseph, Forasmuch as God hath shewed thee all this, there is none so discreet and wise as thou art: