Exodus 13:18

18 So God led the people around by the desert road toward the Red Sea.a The Israelites went up out of Egypt ready for battle.

Read Exodus 13:18 Using Other Translations

But God led the people about, through the way of the wilderness of the Red sea: and the children of Israel went up harnessed out of the land of Egypt.
But God led the people around by the way of the wilderness toward the Red Sea. And the people of Israel went up out of the land of Egypt equipped for battle.
So God led them in a roundabout way through the wilderness toward the Red Sea. Thus the Israelites left Egypt like an army ready for battle.