Genesis 40:4
And the captain of the life-guard appointed Joseph to them, that he should attend on them. And they were several days in custody.
Genesis 37:36
And the Midianites sold him into Egypt, to Potiphar, a chamberlain of Pharaoh, the captain of the life-guard.
Genesis 39:1
And Joseph was brought down to Egypt; and Potiphar, a chamberlain of Pharaoh, the captain of the life-guard, an Egyptian, bought him of the hand of the Ishmaelites who had brought him down thither.
Genesis 39:21-23
And Jehovah was with Joseph, and extended mercy to him, and gave him favour in the eyes of the chief of the tower-house.
Psalm 37:5
Commit thy way unto Jehovah, and rely upon him: he will bring it to pass;