Jeremiah 20:2

Context20:2 When he heard Jeremiah’s prophecy, he had the prophet flogged. 1 Then he put him in the stocks 2 which were at the Upper Gate of Benjamin in the Lord’s temple. 3
Jeremiah 22:13
Context22:13 “‘Sure to be judged 4 is the king who builds his palace using injustice
and treats people unfairly while adding its upper rooms. 5
He makes his countrymen work for him for nothing.
He does not pay them for their labor.
1 tn Heb “And Pashhur son of Immer, the priest and he [= who] was chief overseer [or officer] in the house of the
2 tn The meaning of this word is uncertain. It occurs only here, in 29:26 where it is followed by a parallel word that occurs only there and is generally translated “collar,” and in 2 Chr 16:10 where it is preceded by the word “house of.” It is most often translated “stocks” and explained as an instrument of confinement for keeping prisoners in a crooked position (from its relation to a root meaning “to turn.” See BDB 246 s.v. מַהְפֶּכֶת and KBL 500 s.v. מַהְפֶּכֶת for definition and discussion.) For a full discussion including the interpretation of the ancient versions see W. L. Holladay, Jeremiah (Hermeneia), 1:542-43.
3 sn A comparison of Ezek 8:3 and 9:2 in their contexts will show that this probably refers to the northern gate to the inner court of the temple. It is called Upper because it was on higher ground above the gate in the outer court. It is qualified by “in the
4 sn Heb “Woe.” This particle is used in laments for the dead (cf., e.g., 1 Kgs 13:30; Jer 34:5) and as an introductory particle in indictments against a person on whom judgment is pronounced (cf., e.g., Isa 5:8, 11; Jer 23:1). The indictment is found here in vv. 13-17 and the announcement of judgment in vv. 18-19.
5 tn Heb “Woe to the one who builds his house by unrighteousness and its upper rooms with injustice using his neighbor [= countryman] as a slave for nothing and not giving to him his wages.”
sn This was a clear violation of covenant law (cf. Deut 24:14-15) and a violation of the requirements set forth in Jer 22:3. The allusion is to Jehoiakim who is not mentioned until v. 18. He was placed on the throne by Pharaoh Necho and ruled from 609-598