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

Psalms 78:7

That they might set their hope in God, and not forget the works of God, but keep his commandments:

Read in other translations