The president told supporters at a “Make America Great Again” rally in Phoenix, Arizona, that the opposition Democrats were being “obstructionist”.
During the 80-minute speech, he also took aim at the media, blaming them for giving far right groups “a platform”.
But he selectively quoted his initial response to violence at a far-right rally that left one woman dead.
He omitted the much-criticised claim that “many sides” had to shoulder the blame for violence in Charlottesville, Virginia.
What did he say about the wall?
President Trump wants Congress to finance his controversial plan to build a “big, beautiful” wall along the United States’ border with Mexico to keep out illegal immigrants.
But Republicans will need the support of Democrats to secure funding for the wall in a government spending bill, which they are unlikely to get.
In his speech, Mr Trump said the Democrats were “putting all of America’s safety at risk” by opposing the wall. He said immigration officers who worked in the area said it was “vital” to stem the flow of illegal immigrants.
He said that, if it came to it, he would risk a government shutdown – which is what happens when legislation funding the federal government cannot be passed by Congress and non-essential services stop. This will happen on 1 October if a bill cannot be agreed.
“Now the obstructionist Democrats would like us not to do it, but believe me if we have to close down our government, we are building that wall,” Mr Trump said, adding that “the American people voted for immigration control”.
What did he say about Charlottesville?
President Trump attacked the media in the campaign-style speech, saying reporters had misrepresented his “perfect” words in the wake of the violence in Charlottesville, where Heather Heyer was killed after a car ploughed into a crowd of people protesting against far-right demonstrators including neo-Nazis.
He accused “truly dishonest people in the media and the fake media” of “trying to take away our history and heritage” because, he said, they “don’t like our country”.
- What made Trump remarks so offensive?
He quoted his first public response to the violence on 12 August, which was criticised by both Republicans and Democrats for not explicitly condemning the far-right.
“This is what I said on Saturday: ‘We’re closely following the terrible events unfolding in Charlottesville, Virginia,’ – this is me speaking. ‘We condemn in the strongest possible terms this egregious display of hatred, bigotry and violence.’ That’s me speaking on Saturday, right after the event,” he said.
But his full quote was: “We condemn in the strongest possible terms this egregious display of hatred, bigotry and violence on many sides, on many sides.”
What other topics came up?
- Nafta:The US, Mexico and Canada have begun talks on revising their trade deal, and negotiators are due to meet again on 1 September. But Mr Trump said he thought he would “probably end up terminating Nafta”
- North Korea: He sounded hopeful about a reduction in tensions. Referring to North Korean leader Kim Jong-un, Mr Trump said: “I respect the fact that he is starting to respect us.” He added: “And maybe – probably not, but maybe – something positive can come about”
- Sheriff Joe Arpaio: The US president hinted he would pardon the controversial former Arizona sheriff, who rose to national prominence because of his tough stance against illegal immigration. He said that Joe Arpaio – who was found guilty of criminal contempt in July over his detention of migrants – “is going to be just fine”, but he would not yet formally pardon him because “I don’t want to cause any controversy”
What has the reaction been?
While Mr Trump’s comments were met with cheers inside the conference centre, anti-Trump protesters who had gathered outside the rally clashed with police after the rally had finished.
Advertisement: Hookup with sugar mummy in Nigeria.
Click here to see the latest Latest Recruitment in Nigeria.