The Department of War was its original name. I’ve always thought it to be a more honest name than the Department of Defence.
Afghanistan is arguable, but it was primarily to prevent terrorism.

Just like people swat beehives to get rid of bees.

We’ve known for quite some time that our adventurism in the Middle East (and elsewhere) is among the biggest drivers of terrorism.