“And Yaakov lived in the land of Egypt for seventeen years” (Korach 47:28).
The theme expressed in this verse is the same as, “In my distress You have relieved [hirchavta] me” (Tehillim 4:2), meaning that the distress is the direct cause of the subsequent expansiveness [harchavah]:
Tzaddikim are emissaries of the shechinah (Divine Presence), and their duty is to pray for the sake of the shechinah that languishes in exile. Through suffering lack or exile themselves, the tzaddikim come to a fuller appreciation of the shechinah’s plight, and know how to pray accordingly.
“And Yaakov lived in the land of Egypt [mitzrayim].” Through the exile, troubles, and constraints [meitzarim] that Yaakov personally experienced, he understood how to pray for the equivalent experiences of the shechinah.
The shechinah itself can also be referred to as “Yaakov,” so that “And Yaakov lived” means that the shechinah (“Yaakov”) joined with the supernal source of life through his prayers. “In the land of Egypt [mitzra’ym]”—this came about because he was forced to personally experience suffering [meitzarim].