Question: why israel wandered for 40 years?
Answer: Corresponding to the 40 days that the spies toured the land, God decreed that the Israelites would wander in the wilderness for 40 years as a result of their unwillingness to take the land. ... God brought victories where needed, and his promise to Abraham was fulfilled.