Jeremiah 18:7-10, NLT

7If I announce that a certain nation or kingdom is to be uprooted, torn down, and destroyed, 8but then that nation renounces its evil ways, I will not destroy it as I had planned. 9And if I announce that I will plant and build up a certain nation or kingdom, 10but then that nation turns to evil and refuses to obey me, I will not bless it as I said I would.