Chapter 39 18 And it came to pass, as I lifted up my voice and cried, that he left his garment with me, and fled out.19 And it came to pass, when his master heard the words of his wife, which she spake unto him, saying, After this manner did thy servant to me; that his wrath was kindled.20 And Joseph's master took him, and put him into the prison, a place where the king's prisoners were bound: and he was there in the prison.21 But the LORD was with Joseph, and shewed him mercy, and gave him favour in the sight of the keeper of the prison.22 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.23 The keeper of the prison looked not to any thing that was under his hand; because the LORD was with him, and that which he did, the LORD made it to prosper.
Chapter 40 1 And it came to pass after these things, that the butler of the king of Egypt and his baker had offended their lord the king of Egypt.2 And Pharaoh was wroth against two of his officers, against the chief of the butlers, and against the chief of the bakers.3 And he put them in ward in the house of the captain of the guard, into the prison, the place where Joseph was bound.4 And the captain of the guard charged Joseph with them, and he served them: and they continued a season in ward.5 And they dreamed a dream both of them, each man his dream in one night, each man according to the interpretation of his dream, the butler and the baker of the king of Egypt, which were bound in the prison.6 And Joseph came in unto them in the morning, and looked upon them, and, behold, they were sad.7 And he asked Pharaoh's officers that were with him in the ward of his lord's house, saying, Wherefore look ye so sadly to day?8 And they said unto him, We have dreamed a dream, and there is no interpreter of it. And Joseph said unto them, Do not interpretations belong to God? tell me them, I pray you.9 And the chief butler told his dream to Joseph, and said to him, In my dream, behold, a vine was before me;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:11 And Pharaoh's cup was in my hand: and I took the grapes, and pressed them into Pharaoh's cup, and I gave the cup into Pharaoh's hand.12 And Joseph said unto him, This is the interpretation of it: The three branches are three days: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.14 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: