Exodus 13:17 NLT

17 When Pharaoh finally let the people go, God did not lead them along the main road that runs through Philistine territory, even though that was the shortest route to the Promised Land. God said, “If the people are faced with a battle, they might change their minds and return to Egypt.”