Psalm 40:2

NIV
New International Version

2He 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.