Former Secretary of State Rex Tillerson said that Israeli officials “played” Donald Trump during talks, using “misinformation” to manipulate the president. He warned that a “healthy amount of skepticism” is necessary when dealing with Prime Minister Benjamin Netanyahu.

“They did that with the president on a couple of occasions, to persuade him that ‘we’re the good guys, they’re the bad guys,’” Tillerson said at a panel discussion Tuesday at Harvard University.

“We later exposed it to the president so he understood: ‘You’ve been played,’” Tillerson added. “It bothers me that an ally that’s that close and important to us would do that to us.”

Tillerson did not detail specific situations when he believed the president was “played.”

In “dealing with Bibi, it’s always useful to carry a healthy amount of skepticism in your discussions with him,” said Tillerson, who was fired by Trump via tweet last year. He described Netanyahu as “an extraordinarily skilled” politician and diplomat, but also called him “a bit Machiavellian.”

Tillerson said he supported a two-state solution involving Palestinians, which Netanyahu opposes.

“I did believe that we were at a moment in time where perhaps we could chart a way where the Arab world could support an outcome that the Palestinians might not think was perfect ... but with enough encouragement, pressure from the Arab world, that we could get it close enough that the Palestinians would finally agree,” he said. “In my view, it was a two-state solution.”

But Tillerson said his plans were thwarted when Trump put his son-in-law Jared Kushner in charge of drafting a Middle East peace plan.

Netanyahu’s office tweeted in response to Tillerson’s revelations that Israel “is the good guy.”