Alliances can easily decrease the risk of small scale war, but this is at the cost of systematic risk (alliance vs alliance war or world wars). Perhaps we've only managed to decrease the risk of medium-sized wars at the cost of increased risk for that very rare, very big one. It wouldn't be too different from the recent financial crisis or power distribution networks in the US.