When Joseph was near death, he said to his brothers, “My time to die is almost here. But I know that God will take care of you and lead you out of this country. God will lead you to the land he promised to give Abraham, Isaac, and Jacob.”
After that whole generation died, the next generation grew up. This new generation did not know about the Lord and what the Lord had done for the people of Israel.