I don't think DPRK really wants to nuke anyone. They just look at countries in the last 30 years and look at their options:
Libya: Gave up their WMDs, Libya government gone.
Ukraine: Gave up their nukes, Russia invaded (I admit this is a bit contrived)
Iraq: Didn't have nukes, Iraqi government gone.
Pakistan: Has nukes, is incredibly unstable, still there!