Gov. Andrew M. Cuomo Monday said New Yorkers remain unified and reject the anger and division that is “boiling over into violence” like the “hate-inspired shootings” that killed 11 people Saturday in a Jewish synagogue in Pittsburgh and Oct. 24 in Jeffersontown, Ky. where two black grocery store patrons were fatally shot.

Cuomo directed that flags on all state government buildings be flown at half-staff until sunset Nov. 4 in honor of the victims of Saturday's mass shooting at Pittsburgh's Tree of Life synagogue and last Wednesday's slayings of two black grocery store patrons in Kentucky. In the immediate wake of the Pennsylvania attack, Cuomo ordered tightened State Police security and patrols around Jewish houses of worship in New York

In remarks Monday in Long Island, Cuomo, a Democrat who is up for reelection next week, said there is an “anger that is boiling” and “hatred that is festering” and feeding on itself “through various communication networks” in the country.

“And there are people who wrap themselves in the flag as Americans, and then go out and do violence in the name of America, and in the thought and belief that they are Americans, they're acting the way true Americans should act,” Cuomo continued during his statement.

“In school, one of the first things we learn about America is when the students are asked to raise their hand and repeat the Pledge of Allegiance, and I would ask everyone just to remember what that Pledge of Allegiance says about America. I pledge allegiance to the flag of the United States of America, and to the republic for which is stands, one nation, under God, indivisible, with liberty and justice for all.

“Whether you believe in the Jewish faith, if you are African American, whatever your religion, whatever your race, whatever your creed, indivisible. That's the Pledge of Allegiance. And if you are an American, that's what that flag means. And if you want to honor the flag, and you want to be an American, then honor that pledge. And anyone who seeks to divide, anyone who seeks to separate, anyone who tries to segregate, who is worthy and who is unworthy, that is not an American as we have defined it in this nation, and let's remember.”

Robert Gregory Bowers, a 46-year-old truck driver, was charged in a 29-count federal criminal complaint that included counts of obstructing the exercise of religious beliefs resulting in death — a hate crime — and using a gun to commit murder.

Bowers killed eight men and three women before a police tactical team shot him, authorities said. Six other people were wounded, including four officers. Four of the wounded remained hospitalized Sunday night, two in critical condition.

Gregory A. Bush, 51, has been charged with murder and other crimes in the deaths of the man and the woman at a Kroger store Wednesday in Jeffersontown, located on the outskirts of Louisville. The FBI is investigating alongside local police.

Cuomo will join New York Interfaith religious leaders tonight at Central Synagogue for a prayer, peace and civility vigil. The governor said “New Yorkers stand together "stronger than ever before,” even after a “frightening and atrocious” week.

Cuomo's major party opponent in the election also decried "the seeds of hate."

The deadly assault of the Tree of Life synagogue “was an attack on all people of faith and we will not and cannot tolerate the seeds of hatred to take root in America,” said Marc Molinaro, the Republican candidate for governor.

“We also cannot allow a conventional wisdom to take hold that anti-semitism is a relic of history. Sadly, anti-semitism is alive and on the rise,” Molinaro added.