Genesis 39:20-23

VIN(i) 20 And Joseph's master took him and put him into prison, the place that the king's prisoners were confined. And he was there in prison. 21 But the LORD was with Joseph, and showed him mercy, and gave him favor in the sight of the keeper of the prison. 22 And the keeper of the prison put all the prisoners under Joseph's control, and he was responsible for whatever was done there. 23 The jailer did not worry about anything, because the LORD was with Joseph and made him successful in all that he did.