According to the Zohar, for every descent, there is an ascent: apropos to this weeks parashas, we see Joseph, whose feet were placed in fetters, His person was laid in iron; until the time that his word came to pass, the word of the L-RD tested him (Psalm 105:19, JPS). Josephs descent to Egypt, and eventually into prison, began with his literal descent into the pit that his brothers callously cast him. He was then sold to Midianite traders, who brought him down to Egypt. He became the servant of Potiphar, who put Joseph in charge of his estate; yet, he was wrongfully accused by Potiphars wife; as a result, he wound up in prison.
Even in prison, Joseph flourished; the L-RD was with Joseph, and showed kindness unto him, and gave him favour in the sight of the keeper of the prison (Genesis 39:21, JPS 1917 Tanach). He gained notoriety as an interpreter of dreams, after correctly interpreting, b’ezrach H’Shem (with the L-RDs help) the dreams of two prisoners who had been in stewardship in Pharaohs court. When the cup bearer, who was restored to his position in Pharaoh’s court, two years later, saw how disconcerted Pharaoh was about his own dreams, he recommended Joseph to Pharaoh.
And Pharaoh said unto Joseph: Forasmuch as G-d hath shown thee all this, there is none so discreet and wise as thou’ (Genesis 41:39, JPS 1917 Tanach). Pharaoh was so impressed with Josephs interpretation, that he elevated him to second in command of Egypt, thereby charging him to care for Egypt during the famine, by developing a means to store food during the seven years of plenty, to be subsequently distributed during the famine that would ensue, according to Pharaohs dream. Thus, Josephs ascent followed his descent, all for the sake of others. Joseph models the qualities of endurance, patience and self-giving.