22 All the women left in the palace of the king of Judah will be brought out to the officials of the king of Babylon. Those women will say to you: “ ‘They misled you and overcame you— those trusted friends of yours. Your feet are sunk in the mud; your friends have deserted you.’

Read Jeremiah 38:22 Using Other Translations

And, behold, all the women that are left in the king of Judah's house shall be brought forth to the king of Babylon's princes, and those women shall say, Thy friends have set thee on, and have prevailed against thee: thy feet are sunk in the mire, and they are turned away back.
Behold, all the women left in the house of the king of Judah were being led out to the officials of the king of Babylon and were saying, "'Your trusted friends have deceived you and prevailed against you; now that your feet are sunk in the mud, they turn away from you.'
All the women left in your palace will be brought out and given to the officers of the Babylonian army. Then the women will taunt you, saying, ‘What fine friends you have! They have betrayed and misled you. When your feet sank in the mud, they left you to your fate!’