The correct answer is: It was believed to protect the wearer from evil forces.
The cobra, particularly known as the uraeus, was a symbol of protection and sovereignty in ancient Egypt. It was often associated with the goddess Wadjet, who was believed to guard the pharaoh and provide protection against enemies.