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

Jeremiah 40:5

to fight against the Chaldeans, and to fill it with the corpses of men, whom I smote in mine anger and my wrath, and turned away my face from them, for all their wickedness:

Read in other translations