Then the LORD said to Moses, “Why are you crying out to me? Tell the Israelites to move on.
Raise your staff and stretch out your hand over the sea to divide the water so that the Israelites can go through the sea on dry ground.
I will harden the hearts of the Egyptians so that they will go in after them. And I will gain glory through Pharaoh and all his army, through his chariots and his horsemen.
The Egyptians will know that I am the LORD when I gain glory through Pharaoh, his chariots and his horsemen.”
Then the angel of God, who had been traveling in front of Israel’s army, withdrew and went behind them. The pillar of cloud also moved from in front and stood behind them,
coming between the armies of Egypt and Israel. Throughout the night the cloud brought darkness to the one side and light to the other side; so neither went near the other all night long.