Exodus 14:10-21 New Revised Standard Version (NRSV)
10 As Pharaoh drew near, the Israelites looked back, and there were the Egyptians advancing on them. In great fear the Israelites cried out to the Lord. 11 They said to Moses, “Was it because there were no graves in Egypt that you have taken us away to die in the wilderness? What have you done to us, bringing us out of Egypt? 12 Is this not the very thing we told you in Egypt, ‘Let us alone and let us serve the Egyptians’? For it would have been better for us to serve the Egyptians than to die in the wilderness.” 13 But Moses said to the people, “Do not be afraid, stand firm, and see the deliverance that the Lord will accomplish for you today; for the Egyptians whom you see today you shall never see again. 14 The Lord will fight for you, and you have only to keep still.”
15 Then the Lord said to Moses, “Why do you cry out to me? Tell the Israelites to go forward. 16 But you lift up your staff, and stretch out your hand over the sea and divide it, that the Israelites may go into the sea on dry ground. 17 Then I will harden the hearts of the Egyptians so that they will go in after them; and so I will gain glory for myself over Pharaoh and all his army, his chariots, and his chariot drivers. 18 And the Egyptians shall know that I am the Lord, when I have gained glory for myself over Pharaoh, his chariots, and his chariot drivers.”
19 The angel of God who was going before the Israelite army moved and went behind them; and the pillar of cloud moved from in front of them and took its place behind them. 20 It came between the army of Egypt and the army of Israel. And so the cloud was there with the darkness, and it lit up the night; one did not come near the other all night.
21 Then Moses stretched out his hand over the sea. The Lord drove the sea back by a strong east wind all night, and turned the sea into dry land; and the waters were divided.