15Then the Lord said to Moses, “Why are you crying out to me? Tell the Israelites to move on. 16Raise 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. 17I 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. 18The Egyptians will know that I am the Lord when I gain glory through Pharaoh, his chariots and his horsemen.” 19Then 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, 20coming 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. 21Then Moses stretched out his hand over the sea, and all that night the Lord drove the sea back with a strong east wind and turned it into dry land. The waters were divided, 22and the Israelites went through the sea on dry ground, with a wall of water on their right and on their left.