President Barack Obama said the United States "cannot give in to fear" or become divided in the wake of another terror massacre. 

Obama made remarks from the White House moments ago following an attack in Nice, southern France, where a terrorist killed at least 84 people by ramming a box truck into crowds of people. 

Obama noted that some have suggested that American Muslims should be targeted, "tested for their beliefs" and possibly deported or jailed. 

"The very suggestion is repugnant and an affront to everything we stand for as Americans," said Obama, saying the country cannot become divided along religious lines. 

"That's exactly what the terrorists want. We should never do their work for them," he said, adding that there needs to be reflection on "what we are doing to eliminate this chronic violence."

The president said it's been a "difficult several weeks in the United States." He said the fight against terrorists can be won by "never giving up on diplomacy to end the Syrian civil war" and by partnering with Muslims around the world to "push back against hateful ideologies that twist and distort Islam, a religion that teaches peace and justice and compassion."

Watch the full statement above.

Judge Jeanine: Obama's Legacy Will Be Summed Up with One Word ... 'Weak!'

Gingrich: Will Obama Call for New Truck Regulations After Nice Terror?

DETAILS: Texas Father & Son Among Those Killed in Nice Terror Attack