RIYADH, Saudi Arabia -- President Donald Trump looked to make clear that the United States is not at war with Islam in a major speech on Sunday, instead defining the battle against terrorist groups as a "battle between good and evil" as he urged Muslim-majority countries to redouble their counterterrorism efforts.
"This is not a battle between different faiths, different sects or different civilizations," Trump said. "This is a battle between barbaric criminals who seek to obliterate human life and decent people of all religions who seek to protect it. This is a battle between good and evil."
In a departure from the Islamophobic rhetoric he sometimes deployed on the campaign trail, Trump acknowledged the overwhelming majority of victims of terrorism are Muslim, called Islam "one of the world's great faiths."
He also dismissed "Islamists" as the "foot soldiers of evil," with no religious legitimacy, effectively putting distance between Islam and the ideology that fuels terrorist groups like ISIS.
While Trump promised he was "not here to lecture" the Muslim world, his speech went beyond outreach.
In his most forceful argument, Trump exhorted Muslim-majority countries to do more to eradicate terrorist groups that claim the mantle of Islam, urging Muslims to "drive out" terrorists.
"Drive them out," Trump said. "Drive out the terrorists. Drive out the extremists. Drive them out of your places of worship. Drive them out of your communities. Drive them out of your holy land and drive them out of this Earth."
Middle Eastern countries "cannot wait for American power," Trump said, but must instead "decide what kind of future they want for themselves, for their countries, and for their children."
The major speech, which Trump delivered during an Arab-Islamic-American summit in Riyadh to leaders of 55 Muslim-majority countries, marks Trump's first effort to reach out to the world's 1.6 billion Muslims worldwide.
The speech was aimed at resetting his relationship with the Muslim world after making a slew of Islamophobic remarks on the campaign trail, calling for a ban on Muslims and declaring "Islam hates us."
The speech came as the Trump administration defends his executive order banning visitors from six Muslim-majority countries, which was blocked in federal court.
The order has been criticized as an attempt for Trump to legally implement his Muslim ban.
Despite his toned-down rhetoric, Trump warned the leaders that inaction on their part would bring "suffering, death, despair" and listed a series of actions Muslim countries must take to win the battle against terrorists.
"We can only overcome this evil if the forces of good are united and strong and if everyone in this room does their fair share and fulfills their part of the burden," Trump said. "Muslim majority countries must take the lead in stamping out radicalization."
Trump sought to disassociate terrorism from religion, but urged Muslim majority countries to "honestly" confront "the crisis of Islamic extremism and the Islamists and Islamic terror of all kinds.
"We must stop what they're doing to inspire -- because they do nothing to inspire but kill," Trump said.
Trump, who wants to accelerate the fight against ISIS in Iraq and Syria, signaled that he understands he needs a more constructive relationship with Muslim countries if he hopes to succeed in his stated goal of destroying ISIS and other terrorist groups.
He highlighted that "in sheer numbers, the deadliest toll" of terrorist attacks "has been exacted on Arab, Muslim and Middle Eastern nations."
"More than 95 percent of the victims of terrorism are themselves Muslim," he said.
Trump's comments came after he ticked down a list of major terrorist attacks in the U.S. and also noted that Europe has "also endured unspeakable horror."