What does Numbers 14:34 mean?
You'll wander one year for every day you scouted the land—forty years in all—so you'll know what it's like to be cut off from me. Numbers 14:34 - Modern Text Bible
(The punishment matches the time spent scouting: forty days become forty years of wandering, as a lesson in separation from God.)