John uses the story of Joseph to emphasize the importance of being available for God to use you for His puropse.