Genesis 39:1-3
Genesis 39:1-3 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. Now his master saw that the LORD was with him and that the LORD caused all that he did to prosper (succeed) in his hand. [Gen 21:22; 26:27, 28; 41:38, 39]