For their heart was not right with him, neither were they stedfast in his covenant. Their heart was not right - When the heart is wrong, the life is wrong; and because their heart was not right with God, therefore they were not faithful in his covenant.
Related Commentaries of Psalms 78:37
Psalms 78:37
37 For their heart was not right with him, neither were they stedfast in his covenant.