וַיַּ֣רְא אֲדֹנָ֔יו כִּ֥י יְהוָ֖ה אִתּ֑וֹ וְכֹל֙ אֲשֶׁר־ה֣וּא עֹשֶׂ֔ה יְהוָ֖ה מַצְלִ֥יחַ בְּיָדֽוֹ׃
And his master saw that the LORD was with him, and that the LORD made all that he did to prosper in his hand.
Read Jewish philosophical commentary on Genesis 39:3: and classical philosophical sources.