Nukes have created world peace, the likes of which are were totally unknown throughout all of human history.
You're not considering second and third order consequences.
When two nations can unilaterally destroy the earth, they are greatly incentivized to use diplomacy over warfare.