But the LORD was with Joseph, and shewed him mercy, and gave him favour in the sight of the keeper of the prison.Genesis 39:21 (KJV)
Genesis 39:21 belongs to a chapter titled “Joseph and Potiphar's Wife.” Here is the setting: in Egypt the LORD is with Joseph and he prospers in Potiphar's house. Potiphar's wife tries to seduce him day after day, but he says, 'How then can I do this great wickedness, and sin against God?' and flees, leaving his garment. Falsely accused, he is thrown in prison, but the LORD is with him there too.
This verse captures one of the chapter's main threads: God with Joseph, faithfulness at work, fleeing temptation and falsely accused.
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.
Scripture quoted from the King James Version, which is in the public domain. BibleAnswers does not speak for any single denomination. Read about our editorial approach.