Moses kept them moving so that they would forget Egypt. After 40 years, not many of the old-timers were left.
Are you sure the UN didn't have anything to do with that 'wandering'?
/ sarc