Hillary Clinton’s campaign manager did not want “Israel at public events,” according to hacked emails published online by WikiLeaks.

The topic of whether to include a shoutout to America’s closest ally in the Middle East in Clinton’s stump speech was hotly debated, with many concluding a mention of the Jewish state would upset “dem activists.”

“Would add a sentence on standing up for our allies and our values, including Israel and other fellow democracies, and confronting terrorists and dictators with strength and cunning,” Jake Sullivan, a top foreign-policy adviser to Clinton, said in response to a draft of remarks in a May 17, 2015, email exchange.

Communications adviser Mandy Grunwald pushed back. After pointing out the remarks were for “public events not fundraisers,” Grunwald asked, “Do we need Israel etc for that?”

“We def need the etc. I think good to have Israel too,” Sullivan, who worked for Clinton at the State Department, replied.

“Why would we call out Israel in public events now?” pollster Joel Benenson replied.

“She was Secretary of State,” Sullivan said, suggesting that foreign policy was an issue she should be addressing in public.

But it appears Robby Mook, Clinton’s campaign manager, overruled Sullivan.

“I’m w Joel. We shouldn’t have Israel at public events. Especially dem activists,” Mook replied.

Finally, Sullivan relented: “I won’t fall on sword over Israel but we need more than climate in that paragraph.”

Speechwriter Dan Schwerin offered a compromise. “[S]he can drop in Israel when she’s with donors,” he said.

“I’m fine w that,” Mook replied.

“Good,” said Benenson.