Genesis 39:20-21
Genesis 39:20-21 ESV
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.