UN Resolution 242 on Wikipedia below. Arabs and Muslims have always said that there is a double standard when enforcing UN resolutions, and this UN resolution, which is 42 years old, is a good example of the hypocrisy. It is a very good point.
Israel has complained that the Arabs do not recognize Israel's right to exist, while Israel demolishes more Palestinian homes and annexes more Palestinian land. Now most Arabs do recognize Israel's right to exist, including the elected government of Hamas in Gaza. No more excuses.
'United Nations Security Council Resolution 242 (S/RES/242) was adopted unanimously by the UN Security Council on November 22, 1967, in the aftermath of the Six Day War. It was adopted under Chapter VI of the United Nations Charter. The resolution was drafted by British ambassador Lord Caradon and was one of five drafts under consideration.
The preamble refers to the "inadmissibility of the acquisition of territory by war and the need to work for a just and lasting peace in the Middle East in which every State in the area can live in security."