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

Jeremiah 51:18

They are vanity, the work of errors: in the time of their visitation they shall perish.

Read in other translations