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

Jeremiah 23:22

But if they had stood in my counsel, and if they had hearkened to my words, then would they have turned my people from their evil practices.

Read in other translations