But (even if Joseph was harshly treated in the tower of Heliopolis) the Lord—Jehovah (vide on Genesis 39:5)—was with Joseph (vide Genesis 39:2), and showed him mercy (literally, extended kindness unto him), and gave him favor in the eyes of the keeper (or captain) of the prison (or round house).
And the keeper of the prison (captain of the round house, or chief officer of the tower) committed to Joseph's hand all the prisoners that were in the prison; and whatsoever they did there, he was the doer of it—literally, and all that they (the prisoners) were doing there, he was the person doing it, or attending to it; i.e. the keeper gave him charge to see that the prisoners obeyed whatever orders were issued for their regulation; and, having implicit confidence in Joseph's probity, the keeper of the prison looked not to anything that was under (or in) his hand (i.e. he did not trouble himself about anything entrusted to Joseph); because the Lord (Jehovah) was with him, and that which he did, the Lord (Jehovah) made it to prosper.
HOMILETICS