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

Psalms 24:5

He shall receive the blessing from the Lord, and righteousness from the God of his salvation.

Read in other translations