Nuclear weapons have not prevented major world powers from engaging in proxy wars. As we can see today in the Middle East, proxy wars can make things dangerous and more likely to lead to an unwanted escalation.
Mutually assured destruction works best when the number of involved parties is limited. If every state were to have a warhead of its own, many risks would increase: those of miscalculation, nuclear proliferation to non-state actors, etc.