Were a wall unto them - Compare Nahum 3:8. The waters served the purpose of an intrenchment and wall; the people could not be attacked on either flank during the transit; to the north was the water covering the whole district; to the south was the Red Sea.
Other Barnes' Notes entries containing Exodus 14:22:
DISCLAIMER: Church of the Great God (CGG) provides these resources to aid the individual in studying the Bible. However, it is up to the individual to "prove all things, and hold fast to that which is good" (I Thessalonians 5:21). The content of these resources does not necessarily reflect the views of CGG. They are provided for information purposes only.