WASHINGTON — US President Donald Trump on Wednesday said he was not worried that pulling troops out of Syria could endanger Israel, citing vast American military aid to the Jewish state and saying it can defend itself.

Trump made the comments while on a surprise trip to Iraq — the president’s first official visit to a conflict zone — where he defended his controversial decision last week to remove US military forces from Syria, where they have been leading the coalition to fight the Islamic State terror group.

Speaking with reporters, Trump was asked about criticism that the move could put Israel in jeopardy by allowing Iran to expand its foothold in Syria.

Get The Times of Israel's Daily Edition by email and never miss our top stories Free Sign Up

“Well, I don’t see it. I spoke with Bibi,” he said, referring to Prime Minister Benjamin Netanyahu. “I told Bibi. And, you know, we give Israel $4.5 billion a year. And they’re doing very well defending themselves, if you take a look.”

“So that’s the way it is,” Trump said, according to a White House transcript.

“We’re going to take good care of Israel. Israel is going to be good. But we give Israel $4.5 billion a year. And we give them, frankly, a lot more money than that, if you look at the books — a lot more money than that. And they’ve been doing a very good job for themselves,” he added.

It was not immediately clear where Trump’s figure of $4.5 billion or more came from.

The United States currently allocates $3.8 billion to Israel every year as part of a defense aid package forged between the Obama administration and the Netanyahu government. The memorandum of understanding provides Israel with $38 billion over a 10-year period, which includes funding for the Iron Dome system and other missile interception programs.

The Trump White House has maintained that agreement since taking office, despite Trump complaining about foreign aid disbursements.

The president on Wednesday cited his decision to move the US embassy from Tel Aviv to Jerusalem as evidence of his commitment to Israel.

“We’ll always be there for Israel,” he said. “I’m the one that moved the embassy to Jerusalem. You know, nobody was willing to do that. All these presidents came and went. They all said they will do it. They never did it.”

Last week, Trump said that he would withdraw all US soldiers in Syria, a decision that was met with shock within the US government as well as among regional allies.

Defense Secretary Jim Mattis announced his resignation shortly after the announcement that Trump was pulling back the nation’s roughly 2,000 soldiers in the country.

The president has voiced an isolationist justification for his decision, saying that it is not America’s role to manage international crises.

“The United States cannot continue to be the policeman of the world,” he repeated Wednesday. “We don’t want to do that.”

Israel has repeatedly warned in recent years that Iran is seeking to establish a military presence in Syria, where it is fighting alongside Russia and its Lebanese proxy Hezbollah on behalf of Syrian President Bashar Assad.

Israeli officials have said that America’s absence would open the door for Tehran to create a so-called “land bridge” from Iran, through Iraq and Syria, into Lebanon and to the Mediterranean Sea.

“We will study its timetable, how it will be implemented and — of course — its implications for us. In any case we will take care to maintain the security of Israel and to defend ourselves in this area,” Netanyahu said in an English-language statement released by his office immediately following Trump’s announcement on December 19.

While most American troops have been stationed in northeastern Syria, backing Kurdish fighters, a smaller number have maintained a presence along the Iraqi border at al-Tanf, frustrating Iranian efforts to move weapons and technology.

Diplomatically as well, the US retreat is seen as essentially ceding the battle arena to Russia, which has been less amenable about Israeli demands to keep Iran from entrenching itself militarily.

On Wednesday, Russia vocally protested following reported Israeli airstrikes on alleged Iranian weapons sites near Damascus.

The Israeli military said Tuesday night during the airstrikes that it deployed its air defenses to shoot down a Syrian anti-aircraft missile shot at the country, in what some interpreted as a sign that Assad had been emboldened.

The airstrike was the first attributed to Israel since Trump’s announcement of the troop withdrawal.