AFAIK, there are many problems with nukes.
Only looking at the strategic value of nukes, you can say that by themselves they are more of a hindrance than a deterrent.
By just having nukes you justify other countries to use nukes against you, and then comes the real problem.
Nukes are only a useful deterrent if you have an effective system to deploy them, that implies strong, advanced ever improving missile technology, a strong navy/submarine force and air force.
Also the effectiveness of yours and the others systems is affected by having advanced SAMs, radar, satellite and intelligence.
In the end, for your nuke to be useful to deter anybody else, you need to put a lot of money into developing a myriad of related technologies and maintaining up-to-date active missile sites, militar machinery and on duty forces.
Only economy or resource powerhouses like USA, Russia or China can really afford the luxury of throwing so much money into the garbage can instead of using it into more everyday issues like health, education and quality of life. IMHO.