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

Psalms 18:7

Then the earth shook and trembled; the foundations also of the hills moved and were shaken, because he was wroth.

Read in other translations