The threat to our security isn’t reducing troop levels in Afghanistan and Iraq — it’s failing to withdraw them entirely