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

2 Samuel 22:6

The sorrows of hell compassed me about; the snares of death prevented me;

Read in other translations