In Parshat Vayechi, the verse states concerning Yosef, "A charming son is Yosef, a charming son to the eye." The sages teach us that Yosef and his descendants were
olei ayin - above
ayin hara (the evil eye). Yaakov blessed Yosef's children, "
V'yidgu la'rov." Just as the sea covers the fish so that
ayin hara doesn't affect them, you will be impervious to the evil eye.
The Maase Rokem explains that a person is affected by ayin hara when another person exclaims in wonderment over what he has accomplished. This creates a reality separate from its source, which in turn causes Hashem to open up the books in heaven to determine if the person really deserves the good he received. However, if the person immediately attributes his gifts to Hashem, ayin hara cannot affect him.
Rav Naftali Ropshitzer taught that the whole world is really a shadow of what is above. Our task is to connect everything back to its root, Hashem, and to remember that everything we have is a gift from Him. With constant cognizance of His presence, we can ward off ayin hara.
The Massei Rokem notes that Yosef and his children were above ayin hara because Yosef had Hashem's name constantly on his lips. He told Paraoh, "Elokim ya'aneh et shalom Paro." Hashem will respond to your dream. It is not my wisdom. I'm just an emissary. Yosef had the attribute of bitul (self-nullification), which evokes the image of fish covered by water. When a person looks at water from above, he only sees water, but no fish. Yosef attributed his successes to G-d, in a sense acting like a fish who is not seen.
Bilam wanted to harm the Jewish people with ayin hara. But he saw how they were encamped, how one tent didn't face the other, how each person knew their place and didn't need to look at his neighbor to see what he was missing. Then he was forced to bless them.
Ayin hara
has the numerical value of 400. Esav came with 400 people to meet Yaakov. He wanted to destroy all the blessing Yaakov had with ayin hara. When he saw Yaakov with his family and possessions, he asked, "Whose are these? How did you deserve all this?" Yaakov answered, "Asher chanan Elokim et avdecha." Hashem gave it to me as a free gift. He immediately attributed credit to the source and Esav could not harm him.
The mishkan stood in Shilo in the portion of Yosef for over 300 years. In the area of Shilo one was allowed to eat kodshim kalim (sacrifices with a lesser degree of sanctity) wherever one could see the mishkan. However, in Yerushalayim these sacrifices had to be within the walls. Rav Abahu explains, "The eye that didn't benefit from what didn't belong to him could now eat and benefit to the extent the eye could see."
Yehuda is blessed that he will have ruler-ship until Shilo comes. He will have that which comes from Yosef, the ability to connect everything back to Hashem.
Rav Levenstein noted that our mission is to strengthen our connection to Hashem. One can do this by learning to always say, baruch Hashem, bezrat Hashem while thinking about G-d's help. This is living the life of Yosef.