Why didn't God annihilate Israel despite their repeated idolatry and sin?

God chastised Israel but did not wipe them out because of His mercy and grace.

Watch the Teaching: Why Didn't God Answer Paul's Prayer to Escape Suffering?