Before he died he ordered the Israelites to take his bones along at the time when they would leave the land of Egypt.