Parshas Vayeishev

In Perek 39 Posuk 3 it says ‘Ki Hashem ito’ - because Hashem was with him. Yossef’s master observed that Hashem was with him.

Ramban--- His master noticed that Yossef had more hatzlacha [success] with everything he did than anybody else. From this he deduced that apparently Hashem was with Yossef.

Rabeinu Bachayaa--- His master saw Yossef had great success so he thought, like an Egyptian, that it was due to sorcery. Out of respect for Yossef, Hashem appeared to him in a dream indicating that it was not sorcery.