Israeli Prime Minister Benjamin Netanyahu delivered a defiant speech Friday to the United Nations General Assembly.

Netanyahu addressed the world body at a time of widespread international outrage and isolation over Israel's ongoing war against Hamas militants in the Gaza Strip.

In fact, dozens of delegates poured out of the hall ahead of his speech in a show of protest.

However, the Israeli leader appeared unfazed, defending war in his speech, promising to press forward until Hamas is defeated.

Netanyahu also lashed out at countries that this week recognized a Palestinian state.

Netanyahu called it "disgraceful" and said such steps will "encourage Palestinian violence against Israelis."

During his address, Netanyahu turned to a familiar tactic.

He is famous for using visual aids and props in his speeches, and he once again showed off a map, this time listing the various enemies that Israel has killed across the region during a nearly two-year war.

He also talked about Israel putting up loudspeakers along the border with Gaza, so people inside Gaza, including hostages, could hear it.

It is unclear whether this actually worked, but it sends the message that Netanyahu is a showman and he puts a lot of effort into his speeches.

The Israeli Prime Minister has multiple audiences with these speeches, not only the people in the hall at the United Nations.

"He wants to show his supporters, his base back in Israel that he is a global statesman, that he is strong, that he is defiant," said the AP's Joe Federman.

Netanyahu was also sending a message to Washington. He is set to go to the White House on Monday and he was careful to repeatedly praise President Donald Trump.

"Netanyahu wants a positive atmosphere when he meets the President, Trump of course has shown signs of impatience and called for an end to this ongoing war in Gaza," adds Federman.