You'd think that being dramatically rescued from slavery and led safely through the parted waters of the Red Sea would be enough to inspire a people to trust God for eternity. Apparently not. The people of Israel failed to trust God time and time again. So to form them more fully, God led them through the wilderness for 40 years before allowing them into the Promised Land.
Deuteronomy 8:2-6
Deuteronomy 34:1-12
Hebrews 3:7-11