Threat Perception and Alliances