Moses, on leading the people forth, suspecting that the Egyptians would pursue, left the short and direct route, and turned to the desert, and marched mostly by night. For it was another kind of arrangement by which the Hebrews were trained in the great wilderness, and for a protracted time, to belief in the existence of one God alone, being inured by the wise discipline of endurance to which they were subjected. The strategy of Moses, therefore, shows the necessity of discerning what will be of service before the approach of dangers, and so to encounter them. It turned out precisely as he sus...pected, for the Egyptians pursued with horses and chariots, but were quickly destroyed by the sea breaking on them and overwhelming them with their horses and chariots, so that not a remnant of them was left.
Source: The Stromata, Book 1, Chapter 24