Old Testament readings use the Septuagint , the Scripture the apostles quoted. Masoretic numbering shown for reference.Learn why
KJV

Jeremiah 18:8

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 in other translations