Nehemiah 9:17zakhar
And refused to obey, neither were mindful of thy wonders that thou didst among them; but hardened their necks, and in their rebellion appointed a captain to return to their bondage: but thou art a God ready to pardon, gracious and merciful, slow to anger, and of great kindness, and forsookest them not.
Israel failed to remember God's wonders, yet God forgave.
Isaiah 17:10zakhar
Because thou hast forgotten the God of thy salvation, and hast not been mindful of the rock of thy strength, therefore shalt thou plant pleasant plants, and shalt set it with strange slips:
Forgetting God, the rock of strength, brings consequence.