Genesis 39:19-21
Genesis 39:19-21 NIV
When his master heard the story his wife told him, saying, “This is how your slave treated me,” he burned with anger. Joseph’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, the LORD was with him; he showed him kindness and granted him favor in the eyes of the prison warden.