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

Psalms 95:10

Forty years long was I grieved with this generation, and said, It is a people that do err in their heart, and they have not known my ways:

Read in other translations