Old Testament readings use the Septuagint , the Scripture the apostles quoted. Masoretic numbering shown for reference.Learn why
KJV

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.

Read in other translations