26Then the LORD said to Moses, “Stretch out your hand over the sea, so that the waters may flow back over the Egyptians and their chariots and horsemen.”
27So Moses stretched out his hand over the sea, and at daybreak the sea returned to its normal state. As the Egyptians were retreating, the LORD swept them into the sea.
28The waters flowed back and covered the chariots and horsemen — the entire army of Pharaoh that had chased the Israelites into the sea. Not one of them survived.
29But the Israelites had walked through the sea on dry ground, with walls of water on their right and on their left.
— Exodus 14:26-29