That assumes mutually-assured destruction. The way to win a nuclear war is with a surprise attack that takes out the opponent's nuclear capabilities, then demand their surrender.
Bell pointed out that while the United States has always had the "technical capability" to implement a policy of launch on warning, it has chosen not to do so. "Our policy is to confirm that we are under nuclear attack with actual detonations before retaliating," he said.
Robert Bell, senior director for defense policy and arms control at the National Security Council
https://www.armscontrol.org/act/1997-11/news/clinton-issues-...