The people ate the manna for 40 years, until they came to the land of rest, that is, until they came to the edge of the land of Canaan.