US President Donald Trump's comments came after Iran's president said his country would never surrender to Israel and the United States.