2And the LORD was with Joseph, and he became a successful man, serving in the household of his Egyptian master.
3When his master saw that the LORD was with him and made him prosper in all he did,
4Joseph found favor in his sight and became his personal attendant. Potiphar put him in charge of his household and entrusted him with everything he owned.
— Genesis 39:2-4