Genesis
Chapters 39:19-23
New International Version Anglicized
19When his master heard the story his wife told him, saying, ‘This is how your slave treated me,’ he burned with anger.
20Joseph’s master took him and put him in prison, the place where the king’s prisoners were confined.But while Joseph was there in the prison,
21the Lord was with him; he showed him kindness and granted him favour in the eyes of the prison warder.
22So the warder put Joseph in charge of all those held in the prison, and he was made responsible for all that was done there.
23The warder paid no attention to anything under Joseph’s care, because the Lord was with Joseph and gave him success in whatever he did.