Genesis 39:21-22

Darby(i) 21 And Jehovah was with Joseph, and extended mercy to him, and gave him favour in the eyes of the chief of the tower-house. 22 And the chief of the tower-house committed to Joseph`s hand all the prisoners that were in the tower-house; and whatever they had to do there he did.