Nuclear Weapons
It could be argued that nuclear weapons were the world's greatest force for peace in the 20th Century.
Because nuclear weapons are so terrible, the fear of using them prevented a third World War between the USA and USSR. Imagine how destructive that would have been had each side not feared the other's nuclear arsenal.
"It is well that war is so terrible, lest we should grow too fond of it." -- Robert E. Lee