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

Genesis 40:21

And he restored the chief butler unto his butlership again; and he gave the cup into Pharaoh’s hand:

Read in other translations