This is brilliant passage of prophecy. Lehi testifies that he (Lehi) had been shown in vision to Joseph in Egypt. In other words Joseph saw that Lehi would be the great leader who would be raised up to carry a branch of Joseph's seed over the ocean to the promised land where they would receive the gospel of Jesus Christ in the latter days. What a thrilling thing this must have been when Lehi learned that he was shown to Joseph in Egypt over a thousand years before Lehi was born.