Exodus 13:17 DBY

17 And it came to pass, when Pharaoh let the people go, that God did not lead them the way of the land of the Philistines, although that was near; for God said, That the people may not repent when they see conflict, and return to Egypt.