The journey from slavery to freedom ended for the wilderness generation when the spies brought a bad report about the land. Upon hearing that report, they gave up and asked to return to Egypt (and slavery). This represents one step in God's millennia-long project to develop a good relationship with the people that He created. The project began in the Garden and will culminate in the New Jerusalem.