CAIRO — A man who sold eggs said the army had waited too long to attack the Islamists. An accountant said the police had stormed the protests with an efficiency he had not seen in years.

In the working-class neighborhood of Imbaba on Thursday, a teacher, Mohamed Abdul Hafez, said the hundreds of Islamists who died the day before mattered little to him. “It’s about the security of the country,” Mr. Hafez said.

Egypt seemed more divided than ever after a brutal day of violence here that left hundreds of people dead. Supporters of the ousted president, Mohamed Morsi, mourned those killed, vowed revenge, planned their next moves. Many other Egyptians, though, directed their ire at the protesters who had camped out in the streets for weeks. For them, what occurred made sense.

“It was necessary,” Akmal William, standing in his auto-detailing shop on Talaat Harb Street, said of the raid by soldiers and police officers. “They had to be strict.”