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

Genesis 8:6

And it came to pass at the end of forty days, that Noah opened the window of the ark which he had made:

Read in other translations