Now Joseph had been taken to Egypt. An Egyptian [named] Potiphar, an officer of Pharaoh and the captain of the guard, bought him from the Ishmaelites who had brought him there.
References for Genesis 39:1
The Lord was with Joseph, and he became a successful man, serving in the household of his Egyptian master.
References for Genesis 39:2
When his master saw that the Lord was with him and that the Lord made everything he did successful,
Joseph found favor in his master's sight and became his personal attendant. Potiphar also put him in charge of his household and placed all that he owned under his authority.
References for Genesis 39:4
From the time that he put him in charge of his household and of all that he owned, the Lord blessed the Egyptian's house because of Joseph. The Lord's blessing was on all that he owned, in his house and in his fields.
He left all that he owned under Joseph's authority; he did not concern himself with anything except the food he ate. Now Joseph was well-built and handsome.
References for Genesis 39:6