The General Assembly […] Reaffirms the legitimacy of the struggle of peoples for independence, territorial integrity, national unity and liberation from colonial domination, apartheid and foreign occupation by all available means, including armed struggle
The State of Israel is a fascist, apartheid, settler-colonial, terrorist state.
probably not a good idea to attack them and take hostages then.
Probably a good idea to eliminate them as a state.
Whether it’s a good idea to attack the State of Israel is up to the Palestinians, but they have the right to: https://www.un.org/unispal/document/auto-insert-184801/