וַיְהִ֤י יְהוָה֙ אֶת־יוֹסֵ֔ף וַיֵּ֥ט אֵלָ֖יו חָ֑סֶד וַיִּתֵּ֣ן חִנּ֔וֹ בְּעֵינֵ֖י שַׂ֥ר בֵּית־הַסֹּֽהַר׃
Но Господь был с Иосифом и проявил к нему доброту и оказал ему услугу перед лицом стражника темницы.
Targum Jonathan on Genesis
And the Word of the Lord was Joseph's Helper, and extended mercy to him, and gave him favour in the eyes of the captain of the prison.