"And it came to pass at the end of two full years...." Genesis 41:1a
As a reward for his faithfulness, Joseph spent more than two full years in a stinking, smelling dungeon, forgotten even by those he helped.
He was not a super hero, given special powers by God to press "fast forward" on life's hard times, but rather a man of God who chose faithfulness and dependability even when it cost him everything and took a long time.
God is not in the business of making you healthy, wealthy, and wise, all the time; His is not the so-called "Prosperity Gospel." Yet, in time, God always blesses faithfulness to His Word, at least when we get to Heaven.