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

Jeremiah 20:2

And he smote him, and cast him into the dungeon which was by the gate of the upper house that was set apart, which was by the house of the Lord.

Read in other translations