God does not change his mind, as I see it.
Exodus 32?
Golden calf incident. God gets fed up with the Israelites and tells Moses he is going to destroy them all. Moses talks him out of it, "and the LORD repented of the evil which he thought to do unto his people."