Psalm 40:2

2 He lifted me out of the slimy pit, out of the mud and mire; he set my feet on a rock and gave me a firm place to stand.

Read Psalm 40:2 Using Other Translations

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.
He drew me up from the pit of destruction, out of the miry bog, and set my feet upon a rock, making my steps secure.
He lifted me out of the pit of despair, out of the mud and the mire. He set my feet on solid ground and steadied me as I walked along.