Then Moses and the Israelites sang this song to the LORD: "I will sing to the LORD, because he has won a glorious victory; he has thrown the horses and their riders into the sea.
The LORD is my strong defender; he is the one who has saved me. He is my God, and I will praise him, my father's God, and I will sing about his greatness.
Terror and dread fall upon them. They see your strength, O LORD, and stand helpless with fear until your people have marched past--- the people you set free from slavery.
The Israelites walked through the sea on dry ground. But when the Egyptian chariots with their horses and drivers went into the sea, the LORD brought the water back, and it covered them.
Moses prayed earnestly to the LORD, and the LORD showed him a piece of wood, which he threw into the water; and the water became fit to drink. There the LORD gave them laws to live by, and there he also tested them.
He said, "If you will obey me completely by doing what I consider right and by keeping my commands, I will not punish you with any of the diseases that I brought on the Egyptians. I am the LORD, the one who heals you."