President Donald Trump spoke Monday in response to the mass shootings in El Paso, Texas, and Dayton, Ohio, over the weekend, calling them a “crime against all of humanity.”

The president blamed white supremacy, the internet, video games and mental illness for the massacres. He did not blame guns or himself.

Trump called the attacks “evil” and “barbaric” and denounced the shooters as “wicked.”

“We vow to act with urgent resolve,” he said.

Trump mentioned the alleged El Paso’s shooter’s reported manifesto, which the president said was “consumed by racist hate.” He then called on the nation to condemn racism and white supremacy, while not acknowledging his role in promoting those ideas.

Trump directed social media companies “to develop tools to identify mass shooters before they strike.”

“The perils of the internet and social media cannot be ignored, and will not be ignored,” said Trump, who regularly promotes hate speech on his Twitter feed.

He also blamed the shootings on “a culture that glorifies violence,” and on mental health. “Mental illness and hatred pull the trigger ― not the gun,” he said.

Reading his remarks from a teleprompter, Trump mistakenly named Toledo instead of Dayton as the location of Saturday night’s shooting.