But when I screamed, he ran outside and left his clothes with me."
When Potiphar heard his wife's story, especially when she said, "This is what your slave did to me," he became very angry.
So Joseph's master arrested him and put him in the same prison where the king's prisoners were kept. While Joseph was in prison,
the LORD was with him. The LORD reached out to him with his unchanging love and gave him protection. The LORD also put Joseph on good terms with the warden.
So the warden placed Joseph in charge of all the prisoners who were in that prison. Joseph became responsible for everything that they were doing.
The warden paid no attention to anything under Joseph's care because the LORD was with Joseph and made whatever he did successful.