Genesis 40:4

The captain of the guard put Joseph in charge of them, and he served them; and they continued to be in custody for some time.

Genesis 37:36

Meanwhile, in Egypt the Midianites sold Joseph [as a slave] to Potiphar, an officer of Pharaoh and the captain of the [royal] guard.

Genesis 39:1

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.

Genesis 39:21-23

But the Lord was with Joseph and extended lovingkindness to him, and gave him favor in the sight of the warden.

Psalm 37:5


Commit your way to the Lord;
Trust in Him also and He will do it.

Treasury of Scripture Knowledge

Summary

And the captain of the guard charged Joseph with them, and he served them: and they continued a season in ward.

Bible References

The captain

Genesis 37:36
Meanwhile, in Egypt the Midianites sold Joseph [as a slave] to Potiphar, an officer of Pharaoh and the captain of the [royal] guard.
Genesis 39:1
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.
Psalm 37:5

Commit your way to the Lord;
Trust in Him also and He will do it.