There are lots and lots of countries who use nuclear civilian energy and don't have nuclear weapons.
While at the same time there are lots of countries who have nuclear weapons but no civilian nuclear power.
In fact, it would be more accurate to say that countries who have civilian nuclear power are less likely to have nuclear weapons.
https://en.wikipedia.org/wiki/Treaty_on_the_Non-Proliferatio...
The NPT allows countries to have civilian nuclear power but not nuclear weapons, and many do. My country, Switzerland being an example. Japan is a large country where this applies as well.
The connection between civilian nuclear power and nuclear weapons is almost non existent. Countries that want nuclear weapons, just get them directly, they don't develop civilian nuclear power first.
So please stop spreading this harmful misinformation.