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

Psalms 87:6

The Lord shall count, when he writeth up the people, that this man was born there. Selah.

Read in other translations