Jeremiah 18:8

King James Version Bible (KJV)
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.

Read Jeremiah 18:8 in other translations