The immune system has to learn not to attack your own body
Young immune cells that strongly attack the body's own molecules are normally destroyed or held back. Autoimmune disease can develop when this protection fails. Not attacking your own body is therefore something the immune system must actively maintain.