Because the reality is that the DPRK will never be bombed or invaded, while countries without nuclear weapons are bombed and invaded. Hell, we don't even have to only focus on the US! Regardless of what you think about the justifications behind the war, Russia certainly wouldn't have started a war if Ukraine had its own nukes. They'd have sought any alternative possible.
It has nothing to do with anyone being "better" but with countries having an interest in their own sovereignty. If a country doesn't have nuclear weapons its sovereignty will always be in danger, because a nuclear armed country might come and kill them.