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

Psalms 77:2

In the day of my trouble I sought the Lord: my sore ran in the night, and ceased not: my soul refused to be comforted.

Read in other translations