You could easily argue that the dictatorship is in a stronger place after getting nukes, but the act of building nukes have destabilized many regimes, including Iran. Iran could have been wealthy like UAE and the Saudis, with regional influence similar to Turkey, instead of being the punching bag of US and Israel.