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

Psalms 31:8

And hast not shut me up into the hand of the enemy: thou hast set my feet in a large room.

Read in other translations