Pharaoh put Joseph in charge, literally, of the food supplies. In addition, Pharaoh made Joseph second in all his kingdom and gave him full authority over everything but the throne. It's a very similar relationship between Jehovah and Jesus.
leaving quietly,
I don't see how there could be much of a similarity there. Hebrews 1:5 reads:
For unto which of the angels said he at any time, Thou art my Son, this day have I begotten thee? And again, I will be to him a Father, and he shall be to me a Son?
The answer of course is NONE. Jesus is unique in that he ALONE was begotten by God, not created. He posessed dna from his mother, but was not a clone of Mary.... obviously because he was male. God supplied the other half of the necessary substance from his own being and thus begot the figure we call Jesus.
One of the qualities of God's substance is his omnipresence. Hence we see Jesus referring to his divinity at times such as this:
And no man hath ascended up to heaven, but he that came down from heaven, even the Son of man which is in heaven.- John 3: 13 KJV (Majority Text)
The Son of Man was both in heaven and on earth at the same time, just as God can be.
Other times, Jesus speaks from the standpoint of his humanity. This dual nature of Jesus is the only way to reconcile ALL of his statements.
Matthew 28:18 - And Jesus came and spake unto them, saying, All power is given unto me in heaven and in earth.