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

Genesis 1:17

And God set them in the firmament of the heaven to give light upon the earth,

Read in other translations