Genesis 40:1

And it came to pass after these things, that the butler of the king of Egypt and his baker had offended their lord the king of Egypt.

Cross-reference

Genesis 39:20–23 Historical context

Genesis 39:20-23 establishes Joseph’s imprisonment and God’s favor — the setting into which the cupbearer and baker are thrown here.

Genesis 41:9 Historical context

Genesis 41:9 directly recalls this event when the cupbearer remembers Joseph — a clear narrative continuation.

Nehemiah 1:11 reveals Nehemiah was also a cupbearer to a king — a parallel role to the cupbearer introduced here.

Nehemiah 2:1 shows Nehemiah serving wine as cupbearer — the same job as the cupbearer in this verse.