Evolutionary psychology suggests loyalty is a hardwired trait that helped early humans survive by ensuring protection and resources within a group. This ancient impulse still drives our need for connection, which is why acts of betrayal feel so profoundly painful. A betrayal is an attack on our deepest, most primal sense of security.