He was speaking after 10 people were killed in Buffalo in what is believed to have been a racially motivated hate crime.