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

Psalms 139:2

Thou knowest my downsitting and mine uprising, thou understandest my thought afar off.

Read in other translations