Read this passage and open each verse for the full verse feed and commentary tools.
17Now when Pharaoh had let the people go, God did not lead them by the way of the land of the Philistines, even though it was near; for God said, “The people might change their minds when they see war, and return to Egypt.” 18Therefore God led the people around by way of the wilderness to the Red Sea; and the sons of Israel went up in battle formation from the land of Egypt.
Exodus 13:17-18 (NASB)