The main purpose of the evil eye is to ward off negative energy and jealous glances, offering a sense of protection to the wearer.