Second is given the response of the prophet: and Jeremiah said.
First, he threatens punishment with regard to the time before the taking of the city, against the three things in which they trusted: namely, in the protection of their weapons: behold I will turn; it is as though he were saying, “The weapons which you have taken up against the enemy shall be turned against you, because you will fight against one another.” His sorrow shall be turned on his own head, and his iniquity shall come down on his own crown (Ps 7:17). Alternatively: they will be turned back, as though without fruit. They ...trusted also in the strength of their walls against which he says: and the Chaldeans, who besiege you round about the walls; it is as though he were saying, “The walls do not hinder them.” The kings of the earth and all the inhabitants of the world did not believe that the adversary and the enemy would enter through the gates of Jerusalem (Lam 4:12).
Source: Commentary on Jeremiah