22By faith Joseph, when his end was near, spoke about the exodus of the Israelites from Egypt and gave instructions concerning the burial of his bones.
22By faith Joseph, when he was dying, referred to [the promise of God for] the exodus of the sons of Israel [from Egypt], and gave instructions concerning [the burial of] his bones [in the land of the promise]. [Gen 50:24, 25; Ex 13:19]
22Joseph had faith. So he spoke to the people of Israel about how they would leave Egypt someday. When his death was near, he spoke about where to bury his bones.
22Joseph also believed God. At the end of his life, he spoke about what would happen to the Israelites after his death. He understood that they would leave Egypt one day. As a result of his faith, he told his family where they should bury his bones.