What does Genesis 40:22 say in the KJV?

But he hanged the chief baker: as Joseph had interpreted to them.

Spoken by the narrator describing the fulfillment of Joseph's interpretation of dreams for Pharaoh's imprisoned cupbearer and baker.

King James Version (public domain)

Traditionally attributed to Moses · c. 13th century BC · The Pentateuch — Genesis, Exodus, Leviticus, Numbers, and Deuteronomy — is traditionally attributed to him

Context

20And it came to pass the third day, which was Pharaoh’s birthday, that he made a feast unto all his servants: and he lifted up the head of the chief butler and of the chief baker among his servants.

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

22But he hanged the chief baker: as Joseph had interpreted to them.

23Yet did not the chief butler remember Joseph, but forgat him.