Ego defends beliefs from threats.
Ego seeks and defends self-worth, and self-worth is the foundation of belief. When beliefs are challenged, self-worth is therefore challenged, and ego may step in with some defensive behaviors to protect the beliefs and self.