Genesis 39:22 (KJV)
And the keeper of the prison committed to Joseph's hand all the prisoners that were in the prison; and whatsoever they did there, he was the doer of it.
The keeper of the prison did not look into anything that was under Joseph’s authority, because the LORD was with him; and whatever he did, the LORD made it prosper.
Genesis 40:5 - each of the two men - the cupbearer and the baker of the king of Egypt, who were being held in prison - had a dream the same night, and each dream had a meaning of its own.
And they said to him, “We each have had a dream, and there is no interpreter of it.”
So Joseph said to them, “Do not interpretations belong to God? Tell them to me, please.”
GEN 40:10 And in the vine were three branches: and it was as though it budded, and her blossoms shot forth; and the clusters thereof brought forth ripe grapes:
GEN 40:13 Yet within three days shall Pharaoh lift up thine head, and restore thee unto thy place: and thou shalt deliver Pharaoh's cup into his hand, after the former manner when thou wast his butler.
But think on me when it shall be well with thee, and shew kindness, I pray thee, unto me, and make mention of me unto Pharaoh, and bring me out of this house:
Genesis 40:15 (KJV) For indeed I was stolen away out of the land of the Hebrews: and here also have I done nothing that they should put me into the dungeon.
Genesis 40:16 -When the chief baker saw that Joseph had given a favorable interpretation, he said to Joseph, "I too had a dream: On my head were three baskets of bread.
Genesis 40:17~ And in the uppermost basket there was of all manner of bakemeats for Pharaoh; and the birds did eat them out of the basket upon my head.