Through a procedural vote held before the main vote on the resolution, the Assembly had voted to apply the two-thirds majority requirement for the adoption of the draft. The draft received 87 votes in favor, 57 against, 33 abstentions and 16 countries did not vote.
The Trump administration has been a strong supporter of Israel, recognising Jerusalem as Israel's capital and this year moving the United States embassy there from Tel Aviv. Before the vote, she sent a letter to the missions of all 193 UN member nations asking them to support the USA resolution.
Hamas praised the outcome of the vote, describing it as a "slap" to President Donald Trump's administration. "That is something we should all think deeply about", she said, noting that the resolution was not a judgment one way or another on the peace process but "a foundational element of peace - that foundation is the rejection of terrorism, because we all know there can be no peace without a mutual agreement that terrorism is unacceptable".
She urged United Nations member states to take a stance against one of the "most obvious and grotesque cases of terrorism in the world", referring to the Palestinian faction.
It called on the countries that supported the USA and Israel at the UN General Assembly to reconsider their position and "correct this historical and risky mistake against the Palestinian people".
"The resolution itself was just transparently Israeli talking points - it didn't mention the military occupation, the siege of Gaza, Israel's daily attacks against Palestinians in Gaza and the West Bank".
Israel and Hamas have gone to war three times.
It called for an end to Israel's occupation of Palestine including East Jerusalem, and affirmed support for a two-state solution based on pre-1967 borders.
PLO Secretary-General Saeb Erekat pointed out that Palestinian Authority President Mahmoud Abbas and his ruling Fatah faction had played a role in thwarting the USA resolution.
According to one member of the political bureau of the Popular Front for the Liberation of Palestine, Jamil Mezhir, the result at the United Nations is a strike against the USA and Israel who have been trying to "criminalize the Palestinian national resistance". "The draft resolution is adopted". It is also an indication that a majority of United Nations member states do not believe that the issue can be resolved by Israeli force and propaganda imposing a solution on the Palestinians. The ambassador for Saudi Arabia was fierce in his criticism of Israel.
"Your silence in the face of evil reveals your true colors", he said. In recent months, the militant group has fired hundreds of rockets from Gaza into Israel.
In a statement early Friday, Hamas thanked the states that voted against the resolution and rebuked those who voted in favor.
In this file photo taken on June 13, 2018 Israel's Ambassador to the United Nations Danny Danon speaks to the General Assembly.
Officers from Hamas national security force chant Islamic slogans while holding their rifles up during a parade against Israeli security arrangements on the Temple Mount, in front of the Palestinian Legislative Council in Gaza City, Wednesday, July 26, 2017. "The victory will be in addition to the Palestinian right, no matter how long". That is the truth and significance of the failure of the US-Israel alliance at the UN General Assembly this week.