Jeremiah 18:8 in the King James Version
If that nation, against whom I have pronounced, turn from their evil, I will repent of the evil that I thought to do unto them.
Context
7 At the instant I speak concerning a nation, and concerning a kingdom, to pluck up and to break down and to destroy it,
8 if that nation, concerning which I have spoken, turns from their evil, I will repent of the evil that I thought to do to them.
9 At the instant I speak concerning a nation, and concerning a kingdom, to build and to plant it,