Psalm 40:2

So he brought me up, Out of the destroying pit, Out of the swampy mire, - And set, upon a cliff, my feet, Making firm my steps:

Psalm 27:5

For he will hide me in his pavilion, in the day of calamity, - He will conceal me, in the secrecy of his tent, Within a rock, will he set me on high.

Psalm 37:23

From Yahweh, are the steps of a man made firm, When, with his way, he is well pleased:

Psalm 69:2

I have sunk in deep swamp, Where there is no place to stand, I have come into abysses of waters, Where a flood hath overflowed me;

Psalm 17:5

Thou hast held fast my goings on to thy ways, My footsteps have not been shaken:

Psalm 18:16-17

He sent from on high, he took me, - he drew me out of many waters.

Psalm 18:36

Thou didst widen my stepping-places under me, so that, mine ankles, faltered not.

Psalm 61:2

From the end of the earth, unto thee do I cry, When my heart fainteth away, Unto a rock that is higher than I, wilt thou lead me.

Psalm 69:14-15

Rescue me out of the mire, lest I sink, Let me be rescued, From my haters, and, From abysses of waters:

Psalm 71:20

Thou who hast let us see many distresses and misfortunes, Wilt gain bring us to life, And, out of the resounding depths of the earth, wilt again raise us up;

Psalm 86:13

For, thy lovingkindness, is great towards me, And thou hast rescued my soul from Hades beneath.

Psalm 116:3

The meshes of death encompassed me, and the distresses of hades, came upon me, Peril and sorrow, I found;

Psalm 119:133

My steps, direct thou by thy word, and let no iniquity, have dominion over me.

Psalm 142:6-7

Attend thou unto my loud cry, for I am brought very low, - Rescue me from my pursuers, for they are stronger than I.

Isaiah 24:22

And they shall be swept together in a crowd, fettered for a pit, And shall be lowered into a dungeon, - And, after many days, shall they be punished.

Jeremiah 38:6-12

Then took they Jeremiah and cast him into the dungeon of Malchiah son of the king, which was in the guard-court, and they let Jeremiah down with ropes, - now, in the dungeon, was no water only mire, so Jeremiah sank in the mire.

Lamentations 3:53-55

They have cut off, in the dungeon, my life, and have cast a stone upon me;

Jonah 2:5-6

The waters, encompassed me, to the peril of my life, The roaring deep, enveloped me, - The sea-weed, was wrapped about my head:

Zechariah 9:11

As for thee also, - By the blood of thy covenant, have I sent forth thy prisoners out of a pit, wherein is no water.

Matthew 7:24-25

Every one, therefore, who heareth thesemy words, and doeth them, shall be likened to a prudent man, who built his house upon the rock;

Acts 2:24

Whom, God, raised up, loosing the pangs of death, inasmuch as it was, not possible, for him to continue held fast by it.

Acts 2:27-31

Because thou wilt not abandon my soul unto hades, neither wilt thou give thy man of lovingkindness to see corruption;

Treasury of Scripture Knowledge

Summary

He brought me up also out of an horrible pit, out of the miry clay, and set my feet upon a rock, and established my goings.

Bible References

The miry

Psalm 69:2
I have sunk in deep swamp, Where there is no place to stand, I have come into abysses of waters, Where a flood hath overflowed me;
Jeremiah 38:6
Then took they Jeremiah and cast him into the dungeon of Malchiah son of the king, which was in the guard-court, and they let Jeremiah down with ropes, - now, in the dungeon, was no water only mire, so Jeremiah sank in the mire.
Lamentations 3:53
They have cut off, in the dungeon, my life, and have cast a stone upon me;

Set

Psalm 27:5
For he will hide me in his pavilion, in the day of calamity, - He will conceal me, in the secrecy of his tent, Within a rock, will he set me on high.
Psalm 61:2
From the end of the earth, unto thee do I cry, When my heart fainteth away, Unto a rock that is higher than I, wilt thou lead me.
Matthew 7:24
Every one, therefore, who heareth thesemy words, and doeth them, shall be likened to a prudent man, who built his house upon the rock;

Established

Psalm 17:5
Thou hast held fast my goings on to thy ways, My footsteps have not been shaken:
Psalm 18:36
Thou didst widen my stepping-places under me, so that, mine ankles, faltered not.
Psalm 37:23
From Yahweh, are the steps of a man made firm, When, with his way, he is well pleased:
Psalm 119:133
My steps, direct thou by thy word, and let no iniquity, have dominion over me.

General references

Lamentations 3:55
I have called upon thy Name, O Yahweh, out of the dungeon below;
Jonah 2:5
The waters, encompassed me, to the peril of my life, The roaring deep, enveloped me, - The sea-weed, was wrapped about my head:
Matthew 5:4
Happy, they who mourn; for, they, shall be comforted: