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

Genesis 3:5

For God knew that in whatever day ye should eat of it your eyes would be opened, and ye would be as gods, knowing good and evil.

Read in other translations