Psalms 40:2

40:2 He lifted me out of the watery pit,

out of the slimy mud.

He placed my feet on a rock

and gave me secure footing.

Jeremiah 38:6

38:6 So the officials took Jeremiah and put him in the cistern of Malkijah, one of the royal princes, that was in the courtyard of the guardhouse. There was no water in the cistern, only mud. So when they lowered Jeremiah into the cistern with ropes he sank in the mud.

Jeremiah 38:22

38:22 All the women who are left in the royal palace of Judah will be led out to the officers of the king of Babylon. They will taunt you saying,

‘Your trusted friends misled you;

they have gotten the best of you.

Now that your feet are stuck in the mud,

they have turned their backs on you.’