Genesis 39:21

21 the LORD was with Joseph and remained loyal to him. He caused the jail's commander to think highly of Joseph.