“in the wilderness on the way as they came out of Egypt.” This phrase shows that from God’s perspective, the whole forty-year wandering was part of coming out of Egypt. It was never God’s intention that the Israelites would wander in the desert for 40 years, so their wandering was part of their coming up out of Egypt.