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

Jeremiah 40:2

And the captain of the guard took Jeremiah, and said unto him, The Lord thy God hath pronounced this evil upon this place.

Read in other translations