17And she spake unto him according to these words, saying, The Hebrew servant, which thou hast brought unto us, came in unto me to mock me: 18And it came to pass, as I lifted up my voice and cried, that he left his garment with me, and fled out. 19And it came to pass, when his master heard the words of his wife, which she spake unto him, saying, After this manner did thy servant to me; that his wrath was kindled. 20And Joseph's master took him, and put him into the prison, a place where the king's prisoners were bound: and he was there in the prison.21But the LORD was with Joseph, and shewed him mercy, and gave him favour in the sight of the keeper of the prison. 22And the keeper of the prison committed to Joseph's hand all the prisoners that were in the prison; and whatsoever they did there, he was the doer of it. 23The keeper of the prison looked not to any thing that was under his hand; because the LORD was with him, and that which he did, the LORD made it to prosper.