35. Rabbi Shimon said, Before the incident happened, Joseph was not called righteous. After he guarded the Holy Covenant BY NOT SINNING WITH POTIFAR'S WIFE, he was called Righteous and the grade of the Holy Covenant, YESOD, decorated him. He who was first in the dungeon, THE KLIPAH, rose from it. It is written, "And they brought him hastily out of the dungeon," for he had ascended from THE KLIPAH and was adorned with a well of living water, THE SHECHINAH.
35. רִבִּי שִׁמְעוֹן אֲמַר, עַד לָא אֵירַע לְיוֹסֵף הַהוּא עוֹבָדָא, לָא אִקְרֵי צַדִּיק, כֵּיוָן דְּנָטַר הַהוּא בְּרִית קַיָּימָא, אִקְרֵי צַדִּיק, וְהַהוּא דַּרְגָּא דִּבְרִית קַדִּישָׁא אִתְעַטַּר בַּהֲדֵיהּ, וּמַאי דַּהֲוָה בַּבּוֹר בְּקַדְמֵיתָא, אִסְתַּלַּק בַּהֲדֵיהּ, וּכְתִיב וַיְרִיצֻהוּ מִן הַבּוֹר, אִסְתַּלַּק מִן דָּא, וְאִתְעַטַּר בִּבְאֵר מַיִם חַיִּים.