A good domestic policy does not prevent Iran or North Korea from nuking their neighbors. However, if we are not concerned about that and only care about getting rich ourselves, then I get your point.
Yes a good domestic policy could stop N. Korea from nuking it’s neighbors. With enough money to fund Star Wars it could stop it completely. Everyone is just used to thinking poor.