Exodus 13:17

MLV(i) 17 And it happened, when Pharaoh had let the people go, that God led them not by the way of the land of the Philistines, although that was near. For God said, Lest perhaps the people regret when they see war and they return to Egypt.