> Drones and robots made attacks easier, did that help national security?
Large flying drones make patrolling a border easier. You don't have to worry about the pilot's fatigue level. Only fuel/battery.
The war in Ukraine clearly shows that smaller drones also help in attacking and defending. Attacking, by dropping bombs or spotting targets.
And defending, via spotting incoming enemy forces; spotting enemy artillery that is shooting at you, etc
> Drones and robots made attacks easier, did that help national security?
Yes because the enemy will have them eventually regardless of whether you develop them. Call it a Prisoner's Dilemma if you will, but it's the reality. Besides, unlike nuclear weapons, warfare with autonomous systems is not particularly more cruel than WW1 or WW2 style warfare.
You don't defend territory with static defense's or force fields or walls.