If you want the evil eye to have no power against you and your children, then make your eyes do not want to enjoy what’s not yours, as Yosef Avinu’s eyes that didn’t want to enjoy what was not his (Potiphar's wife who tried unsuccessfully to seduce him), that’s why the evil eye has no power against him nor his descendants.
- The Gemara, Berachos 20a