Exodus 32:14, “And the Lord repented of the evil which he thought to do unto his people.” Twice, here and in genesis 6:6, out Creator wisely repents before He acts. Mankind being made in His image has that ability of we choose wisely as well.