Psalm 78:35-38

35 They remembered that God was their Rock, that God Most High was their Redeemer.
36 But then they would flatter him with their mouths, lying to him with their tongues;
37 their hearts were not loyal to him, they were not faithful to his covenant.
38 Yet he was merciful; he forgave their iniquities and did not destroy them. Time after time he restrained his anger and did not stir up his full wrath.