Genesis 39:18-23 GW

18 But when I screamed, he ran outside and left his clothes with me."
19 When Potiphar heard his wife's story, especially when she said, "This is what your slave did to me," he became very angry.
20 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,
21 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.
22 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.
23 The warden paid no attention to anything under Joseph's care because the LORD was with Joseph and made whatever he did successful.