I will go down to Egypt with you and I will also surely bring you up, and Yosef will set his hands upon your eyes.
The possuk seems to be telling us that the Shechina will be coming along with him to Mitzrayim. The Ohr Hachaim asks from a Medrash. The Medrash writes that Mitzrayim was filled with idols and other such evils, and for that reason the Shechina could not be found there. When Moshe Rabbeinu had to daven to Hashem that He stop the hail from falling, Moshe had to leave the town because he could not daven in the town filled with idols.
How could Hashem promise to descend to Mitzrayim and have the Shechina come to the town, when it was filled with idols?
The Ohr Hachaim begins with the possuk in Tehillim עִמוֹ אָּנֹכִי בְצָּרָּה - I am with him in distress. When Klal Yisroel suffers, Hashem suffers along with them. When Hashem revealed Himself to Moshe, He did so from a thornbush. Klal Yisroel was suffering in Mitzrayim and Hashem expressed His own suffering along with them through revealing Himself in a thornbush.
When Hashem promised Yaakov that He would be with them in Mitzrayim, all He meant was that He too would suffer along with him. There would be no revelation of the Shechina in Mitzrayim.
However, the Ohr Hachaim refuses to stay with this explanation, because he shows many sources that the Shechina did reveal itself in Mitzrayim. The Gemara says that when Klal Yisroel went down to Mitzrayim, the Shechina went along with them. Another Medrash says that Yaakov bowed down to the head of the bed, and that was because the Shechina was at his head, because he was sick and the Shechina is always revealed at the head of a sick man. Another Medrash tells us that the seventieth member of the family to move with them to Eretz Yisroel was the Shechina. Obviously, there were circumstances in which the Shechina could descend to Mitzrayim.
The Ohr Hachaim explains that there are many levels of Shechina and not all of them have the same rules. Chazal tell us that when ten people are learning together the Shechina is resting among them. The Gemara then says that even two people learning together, the Shechina is present. Obviously, there are different levels of revelation of the Shechina.
We also find that the Shechina did not reveal itself among Klal Yisroel until they had spent weeks and months building and preparing a Mishkan. Only afterwards, did they see the Shechina as it descended in a great production and all of Klal Yisroel thanked Hashem. Nobody has this experience when they learn Torah, not even when learning with thousands of people. There are obviously many different levels of Shechina revelation.
The Shechina necessary for prophecy is a particularly high level, and that level was impossible in a town like Mitzrayim which was filled with idols.
