Genesis 40:4

The captain of the guard assigned Joseph to them, and he became their personal attendant. And they were in custody for some time.

Genesis 37:36

Meanwhile, the Midianites sold Joseph in Egypt to Potiphar, an officer of Pharaoh and the captain of the guard.

Genesis 39:1

Now Joseph had been taken to Egypt. An Egyptian named Potiphar, an officer of Pharaoh and the captain of the guard, bought him from the Ishmaelites who had brought him there.

Genesis 39:21-23

But the Lord was with Joseph and extended kindness to him. He granted him favor in the eyes of the prison warden.

Psalm 37:5

Commit your way to the Lord;
trust in Him, and He will act,

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, the Midianites sold Joseph in Egypt to Potiphar, an officer of Pharaoh and the captain of the guard.
Genesis 39:1
Now Joseph had been taken to Egypt. An Egyptian named Potiphar, an officer of Pharaoh and the captain of the guard, bought him from the Ishmaelites who had brought him there.
Psalm 37:5
Commit your way to the Lord;
trust in Him, and He will act,

Holman Christian Standard Bible®, Copyright © 1999, 2000, 2002, 2003, 2009 by Holman Bible Publishers.