Psalm 106:1-23 (ESV)
106:1 Praise the Lord!
Oh give thanks to the Lord, for he is good,
for his steadfast love endures forever!
2 Who can utter the mighty deeds of the Lord,
or declare all his praise?
3 Blessed are they who observe justice,
who do righteousness at all times!
4 Remember me, O Lord, when you show favor to your people;
help me when you save them, 
5 that I may look upon the prosperity of your chosen ones,
that I may rejoice in the gladness of your nation,
that I may glory with your inheritance.
6 Both we and our fathers have sinned;
we have committed iniquity; we have done wickedness.
7 Our fathers, when they were in Egypt,
did not consider your wondrous works;
they did not remember the abundance of your steadfast love,
but rebelled by the sea, at the Red Sea.
8 Yet he saved them for his name’s sake,
that he might make known his mighty power.
9 He rebuked the Red Sea, and it became dry,
and he led them through the deep as through a desert.
10 So he saved them from the hand of the foe
and redeemed them from the power of the enemy.
11 And the waters covered their adversaries;
not one of them was left.
12 Then they believed his words;
they sang his praise.
13 But they soon forgot his works;
they did not wait for his counsel.
14 But they had a wanton craving in the wilderness,
and put God to the test in the desert;
15 he gave them what they asked,
but sent a wasting disease among them.
16 When men in the camp were jealous of Moses
and Aaron, the holy one of the Lord,
17 the earth opened and swallowed up Dathan,
and covered the company of Abiram.
18 Fire also broke out in their company;
the flame burned up the wicked.
19 They made a calf in Horeb
and worshiped a metal image.
20 They exchanged the glory of God
for the image of an ox that eats grass.
21 They forgot God, their Savior,
who had done great things in Egypt,
22 wondrous works in the land of Ham,
and awesome deeds by the Red Sea.
23 Therefore he said he would destroy them—
had not Moses, his chosen one,
stood in the breach before him,
to turn away his wrath from destroying them.