God saw what they had done—that they had given up their evil ways—so he changed his mind and did not carry out the destruction he had threatened.