Genesis 39:1-2
Genesis 39:1-2 AMP
Now Joseph had been taken down to Egypt; and Potiphar, an Egyptian officer of Pharaoh, the captain of the [royal] guard, bought him from the Ishmaelites, who had taken him down there. The LORD was with Joseph, and he [even though a slave] became a successful and prosperous man; and he was in the house of his master, the Egyptian.