1 Now Joseph had been taken down to Egypt; and Potiphar, an Egyptian officer of Pharaoh, the captain of the bodyguard, bought him from the Ishmaelites, who had taken him down there. 2 The LORD was with Joseph, so he became a successful man. And he was in the house of his master, the Egyptian. 3 Now his master saw that the LORD was with him and how the LORD caused all that he did to prosper in his hand. 4 So Joseph found favor in his sight and became his personal servant; and he made him overseer over his house, and all that he owned he put in his charge. 5 It came about that from the time he made him overseer in his house and over all that he owned, the LORD blessed the Egyptian’s house on account of Joseph; thus the LORD’S blessing was upon all that he owned, in the house and in the field. 6 So he left everything he owned in Joseph’s charge; and with him there he did not concern himself with anything except the food which he ate.
Joseph was now a slave in a foreign land, but he didn’t let that hold him back. He did everything as unto the Lord, and the Lord blessed everything because of it. Potiphar (and probably everyone around him) noticed it, and Joseph was rewarded for his labors, even while he was still a slave. If you are diligent in what you do, and you do it all for God, He will not let it go unnoticed.