The President is confident that US military will defeat terrorism in all forms