how long did israel wander in the wilderness