Speaking to a hawkish audience a month after his party’s midterm elections losses, the president said that in the Iran war, the United States could “finish them off whenever we want.”