Genesis 39:19-23
Genesis 39:19-23 ESV
As soon as his master heard the words that his wife spoke to him, “This is the way your servant treated me,” his anger was kindled. And Joseph’s master took him and put him into the prison, the place where the king’s prisoners were confined, and he was there in prison. But the LORD was with Joseph and showed him steadfast love and gave him favor in the sight of the keeper of the prison. And the keeper of the prison put Joseph in charge of all the prisoners who were in the prison. Whatever was done there, he was the one who did it. The keeper of the prison paid no attention to anything that was in Joseph’s charge, because the LORD was with him. And whatever he did, the LORD made it succeed.