Exodus 13:17-18 (WEB)
17 When Pharaoh had let the people go, God didn’t lead them by the way of the land of the Philistines, although that was near; for God said, “Lest perhaps the people change their minds when they see war, and they return to Egypt”;
18 but God led the people around by the way of the wilderness by the Red Sea; and the children of Israel went up armed out of the land of Egypt.
About Exodus 13: This chapter serves as a bridge between the Passover and the long trek through the wilderness. It contains two major instructions for the people of Israel: keeping the Feast of Unleavened Bread and redeeming the firstborn. These laws were not just rules for a season; they were to be memorials for generations. God wanted His people to never forget how He brought them out of the house of bondage. Read the study notes
2 verses · Compare in parallel · Read all of Exodus 13