What does Genesis 40:17 say in the KJV?

And in the uppermost basket there was of all manner of bakemeats for Pharaoh; and the birds did eat them out of the basket upon my head.

Joseph interpreting the dreams of Pharaoh's cupbearer and baker in prison.

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

15For indeed I was stolen away out of the land of the Hebrews: and here also have I done nothing that they should put me into the dungeon.

16When the chief baker saw that the interpretation was good, he said unto Joseph, I also was in my dream, and, behold, I had three white baskets on my head:

17And in the uppermost basket there was of all manner of bakemeats for Pharaoh; and the birds did eat them out of the basket upon my head.

18And Joseph answered and said, This is the interpretation thereof: The three baskets are three days:

19Yet within three days shall Pharaoh lift up thy head from off thee, and shall hang thee on a tree; and the birds shall eat thy flesh from off thee.