https://blogs.timesofisrael.com/time-to-move-on-the-hashemite-kingdom-of-palestine/
On May 18, 1967, the United Arab Republic (then a union of Egypt and Syria) requested the United Nations to withdraw the UN forces from the Sinai Peninsula and the Gaza Strip, stationed there to maintain a quiet border with Israel. The UN protested but it complied with the request.
Four days later, on May 22, 1967, Egypt closed the Straits of Tiran to navigation to and from Israel. At that time around 90% of the vital oil imports to Israel (from Iran) passed through the Straits of Tiran. This triggered, two weeks later, the June 1967 war. The war pitted Egypt, Syria and Jordan against Israel, and its effects are felt till today. The main results of this war were: Egypt lost the Sinai Peninsula and the Gaza Strip, Syria lost the Golan Heights, and Jordan lost the West Bank.
In November 1967 the United Nations Security Council adopted the resolution 242 that set the principles for the resolution of the conflict between Israel and the Arab countries.