Genesis 39

1 Now Joseph had been taken down to Egypt. And Potiphar, an officer of Pharaoh, captain of the guard, an Egyptian, bought him from the Ishmaelites who had taken him down there. 2 The Lord was with Joseph, and he was a successful man; and he was in the house of his master the Egyptian. 3 And his master saw that the Lord was with him and that the Lord made all he did to prosper in his hand . . .
— GENESIS 39