When Pharaoh let the people go, God did not lead them on the road through the Philistine country, though that was shorter. For God said, “If they face war, they might change their minds and return to Egypt.”
So God led the people around by the desert road toward the Red Sea. The Israelites went up out of Egypt ready for battle.
Moses took the bones of Joseph with him because Joseph had made the Israelites swear an oath. He had said, “God will surely come to your aid, and then you must carry my bones up with you from this place.”
After leaving Sukkoth they camped at Etham on the edge of the desert.