God must love road trips. He took the Israelites on a 40 year road trip in the desert. You wouldn’t think it should take 40 years to get from Egypt to the Promised Land, even walking, but God doesn’t always travel in a straight line. There are too many lessons He wants to teach us along the way.
Exodus 13:17-18 reads:
When Pharaoh let the people go, God did not lead them on the road through the Philistine country, though that was shorter. For God said, “If they face war, they might change their minds and return to Egypt.” So God led the people around by the desert toad toward the Red Sea. The Israelites went up out of Egypt ready for battle.