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

Genesis 2:16

And the Lord God commanded the man, saying, Of every tree of the garden thou mayest freely eat:

Read in other translations