39: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.
39:21But the LORD was with Joseph, and shewed him mercy, and gave him favour in the sight of the keeper of the prison.
39: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.
39: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.
105:17He sent a man before them, even Joseph, who was sold for a servant:
105:18Whose feet they hurt with fetters: he was laid in iron:
105:19Until the time that his word came: the word of the LORD tried him.