When God saw their deeds, that they turned from their evil way, then God relented of the disaster which He had declared He would bring on them. So He did not do it.
Be strong and courageous, do not be afraid or in dread of them, for the Lord your God is the One who is going with you. He will not desert you or abandon you.
All Scripture is inspired by God and beneficial for teaching, for rebuke, for correction, for training in righteousness; so that the man or woman of God may be fully capable, equipped for every good work.