Exodus 13:17-18
Exodus 13:17-18 MSG
It so happened that after Pharaoh released the people, God didn’t lead them by the road through the land of the Philistines, which was the shortest route, for God thought, “If the people encounter war, they’ll change their minds and go back to Egypt.” So God led the people on the wilderness road, looping around to the Red Sea. The Israelites left Egypt in military formation.