Exodus 13:17-22
The Leading of God
13:17 When Pharaoh released the people, God did not lead them by the way to the land of the Philistines, although that was nearby, for God said, “Lest the people change their minds and return to Egypt when they experience war.”
13:18 So God brought the people around by the way of the desert to the Red Sea, and the Israelites went up from the land of Egypt prepared for battle.
13:19 Moses took the bones of Joseph with him, for Joseph had made the Israelites solemnly swear, “God will surely attend to you, and you will carry my bones up from this place with you.”
13:20 They journeyed from Sukkoth and camped in Etham, on the edge of the desert.
13:21 Now the Lord was going before them by day in a pillar of cloud to lead them in the way, and by night in a pillar of fire to give them light, so that they could travel day or night.
13:22 He did not remove the pillar of cloud by day nor the pillar of fire by night from before the people.