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

Psalms 51:18

Do good in thy good pleasure unto Zion: build thou the walls of Jerusalem.

Read in other translations