If you look at the bigger picture, the trials Joseph experienced because his brothers victimized him were incidental . God had a plan for the nation of Israel and feeding Jacob's family was secondary to His greater purposes.
A Prophet Prepared -- Young Joseph had prophetic dreams. He was a prophet in preparation. Find out more.