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

Psalms 138:16

Thine eyes saw my unwrought [substance], and all [men] shall be written in thy book; they shall be formed by day, though [there should for a time] be no one among them.

Read in other translations