#Why did God not lead the Israelites by way of the land of the Philistines?

God did not lead them by way of the land of the Philistines. For God said, "Perhaps the people will change their minds when they experience war and will then return to Egypt. [13:17]