Genesis 40:4

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

Cross-reference

Genesis 40:20 Historical context

Genesis 40:20 records Pharaoh's birthday feast where the butler and baker are brought out — the outcome of this imprisonment period.

Genesis 37:36 Historical context

Genesis 37:36 identifies Potiphar as the captain of the guard who bought Joseph, the same official assigning him here.

Genesis 39:1 Historical context

Genesis 39:1 introduces Potiphar as the captain of the guard who bought Joseph — the same official who later puts Joseph in charge of prisoners here.

Genesis 39:21–23 Historical context

Genesis 39:21-23 shows Joseph already favored and put over all prisoners — this explains why he is assigned to serve the butler and baker.

Genesis 39:22 Historical context

Genesis 39:22 states the keeper committed all prisoners to Joseph — explains his authority over the butler and baker here.

Genesis 39:23 Historical context

Genesis 39:23 says the keeper trusted Joseph because the LORD was with him — the reason for his responsibility here.