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

Psalms 118:23

This is the Lord’s doing; it is marvellous in our eyes.

Read in other translations