Yahweh parted the sea so they could pass through on dry ground, and then he brought the sea back onto those that were pursuing them.