17When Pharaoh let the people go, God did not lead them by way of the land of the Philistines, although that was nearer; for God thought, “If the people face war, they may change their minds and return to Egypt.” 18So God led the people by the roundabout way of the wilderness toward the Red Sea. The Israelites went up out of the land of Egypt prepared for battle. 19And Moses took with him the bones of Joseph who had required a solemn oath of the Israelites, saying, “God will surely take notice of you, and then you must carry my bones with you from here.” 20They set out from Succoth, and camped at Etham, on the edge of the wilderness. 21The LORD went in front of them in a pillar of cloud by day, to lead them along the way, and in a pillar of fire by night, to give them light, so that they might travel by day and by night. 22Neither the pillar of cloud by day nor the pillar of fire by night left its place in front of the people.