Genesis 39:20-21
Genesis 39:20-21 NASB1995
So Joseph’s master took him and put him into the jail, the place where the king’s prisoners were confined; and he was there in the jail. But the LORD was with Joseph and extended kindness to him, and gave him favor in the sight of the chief jailer.