Why did the Jews wander in the desert for forty years?

Q: Why did the Jews wander in the desert for forty years?
A: Somebody dropped a shekel.