It makes it easy to chip away at your defenses, where every bite is so small that it would be insane to respond with a nuclear attack.
That sounds more like "How can we maintain a sphere of influence and a de facto empire" rather than "How can we ensure the nation is defended from attack." National borders are (mostly) sharp, so either you're being invaded or you aren't. Spheres of influence are fuzzy, and indeed fuzzy claims are susceptible to gradualist takeovers.
I agree that a large conventional military is indispensible if you want to go the imperialist route. However, that raises the question of whether imposing your will on the entire world is legitimate. I would advocate that it is not, that it makes the world a worse place.
In a world without strong international laws, if you want to safeguard other nations from attack and promote peace, sell them nuclear weapons. The logic of nuclear deterrence is hard to argue with, and safeguards the weak from the strong. For example, had Iraq had nuclear weapons in 2003, the US would have been deterred from invasion and the world would likely be a more peaceful place today.
See Russia-Ukraine war. "Uprising" starts using weapons made in Russia. They say it's not them. Do you nuke them over it?
How about later, when they carved out the part they like, and admit it was them all along, but promise "we won't go further". Do you nuke them?
How about when they formally annex that part?
It's called salami tactics, and it unfortunately works. That's why you need conventional army to defend. Well, at least if you live in a region with 19th century-style empire wannabe.
Russia also invaded parts of Ukraine that had Ukrainian majority, and war still goes on there (just less intensive). There's nothing preventing them from invading still more parts. So "let's just give away contested territories" is not a good solution - because if 30% minority is contested territory- then after giving it away - it will be contested territory for the other side as well.
We've tried this after WW1 and it didn't worked.
Then a country with conventional army and nukes would be able to attack you without using nukes and threat nuclear retaliation if you use nukes. It's rational to choose occupation over nuclear apocalypse, so you surrender (or he expects you to).