Question:

How many days would it had taken the Israelites to travel from Egypt to Canaan, instead of 40 years?


Answer:

If you don't consider the two years at Mount Sinai, it took Israel about two and a half months to reach the southern edge of Canaan. See: How long did the exodus from Egypt take?