Jeremiah 18:7-10 AMP:
7 – At one moment I might [suddenly] speak concerning a nation or kingdom, that I will uproot and break down and destroy;
8 – if that nation against which I have spoken turns from its evil, I will relent and reverse My decision concerning the devastation that I intended to do.
9 – Or at another time I might [suddenly] speak about a nation or kingdom that I will build up or establish;
10 – and if they do evil in My sight by not obeying My voice, then I will reverse My decision concerning the good with which I had promised to bless them.