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.
1Then the LORD said to Moses: 2Tell the Israelites to turn back and camp in front of Pi-hahiroth, between Migdol and the sea, in front of Baal-zephon; you shall camp opposite it, by the sea. 3Pharaoh will say of the Israelites, “They are wandering aimlessly in the land; the wilderness has closed in on them.” 4I will harden Pharaoh’s heart, and he will pursue them, so that I will gain glory for myself over Pharaoh and all his army; and the Egyptians shall know that I am the LORD. And they did so.