39:20. And cast Joseph into the prison, where the king's prisoners were kept, and he was there shut up.
39:21. But the Lord was with Joseph, and having mercy upon him gave him favour in the sight of the chief keeper of the prison:
39:22. Who delivered into his hand all the prisoners that were kept in custody: and whatsoever was done, was under him.
39:23. Neither did he himself know any thing, having committed all things to him: for the Lord was with him, and made all that he did to prosper.
Genesis Chapter 40
Joseph interpreteth the dreams of two of Pharao's servants in prison: the event declareth the interpretations to be true, but Joseph is forgotten.
40:1. After this, it came to pass, that two eunuchs, the butler and the baker of the king of Egypt, offended their lord.
40:2. And Pharao being angry with them, (now the one was chief butler, the other chief baker,)
40:3. He sent them to the prison of the commander of the soldiers, in which Joseph also was prisoner.
40:4. But the keeper of the prison delivered them to Joseph, and he served them. Some little time passed, and they were kept in custody.