One of the keys to understanding scripture is to look for patterns and themes. Take the number forty, for example. It's the number of the wilderness, journeys of discovery, restoration, and encounters with God.
Noah, Hagar, Isaac, Moses, the Spies, Israel, Elijah, and many others including Yeshua underwent 40-day or 40-year wanderings while they discovered God or transitioned from one life to another.