Jeremiah 18:8-10 NIV

8 and if that nation I warned repents of its evil, then I will relent and not inflict on it the disaster I had planned.
9 And if at another time I announce that a nation or kingdom is to be built up and planted,

References for Jeremiah 18:9

10 and if it does evil in my sight and does not obey me, then I will reconsider the good I had intended to do for it.

References for Jeremiah 18:10