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

Psalms 18:4

The sorrows of death compassed me, and the floods of ungodly men made me afraid.

Read in other translations