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

Psalms 18:5

The cords of Sheol were around me. The snares of death came on me.

Read in other translations