Exodus 14:12-21 (NKJV)
Is this not the word that we told you in Egypt, saying, ‘Let us alone that we may serve the Egyptians’? For it would have been better for us to serve the Egyptians than that we should die in the wilderness.” 13 And Moses said to the people, “Do not be afraid. Stand still, and see the salvation of the LORD, which He will accomplish for you today. For the Egyptians whom you see today, you shall see again no more forever.
14 The LORD will fight for you, and you shall hold your peace.” 15 And the LORD said to Moses, “Why do you cry to Me? Tell the children of Israel to go forward. 16 But lift up your rod, and stretch out your hand over the sea and divide it. And the children of Israel shall go on dry ground through the midst of the sea. 17 And I indeed will harden the hearts of the Egyptians, and they shall follow them. So I will gain honor over Pharaoh and over all his army, his chariots, and his horsemen.
18 Then the Egyptians shall know that I am the LORD, when I have gained honor for Myself over Pharaoh, his chariots, and his horsemen.” 19 And the Angel of God, who went before the camp of Israel, moved and went behind them; and the pillar of cloud went from before them and stood behind them. 20 So it came between the camp of the Egyptians and the camp of Israel.
Thus it was a cloud and darkness to the one, and it gave light by night to the other, so that the one did not come near the other all that night. 21 Then Moses stretched out his hand over the sea; and the LORD caused the sea to go back by a strong east wind all that night, and made the sea into dry land, and the waters were divided.