Elohim led the Israelites out of Egypt by pillar of cloud by day and fire by night. Though the more direct path was through Philistine land, Elohim knew the Israelites would regret seeing war and return to Egypt, so he led them the long way through the wilderness. Moshe brought Joseph's bones as the Israelites had promised to return them to the promised land, representing the identity and future return of the lost 10 tribes. Elohim's guiding presence in the pillar established his people on the foundation of redemption.