The establishment of the State of Israel would have been possible without the Holocaust due to the Zionist movement, however the reparations from the Holocaust given by West Germany gave Israel the resources necessary to survive. the realization that European Jewry faced literal annihilation introduced a new element of bitterness and anger in Jewish life everywhere. Jewish leaders and communities sought in different ways to act against the extermination, to help the Jews trapped in Europe, to participate in their efforts at resistance and revolt. If and how the Jews acted against the Nazi onslaught has remained a controversial theme in Jewish life; however, there is general agreement that there was a glaring disproportion between the appalling dimensions of the Jewish disaster and the limited possibilities of the Jews outside Europe to come to their brethren's aid. In the 1940s, the feeling of helplessness and the suspicion that the nations engaged in war against Germany were indifferent to the fate of European Jewry, brought about a new mood, combining despair and grim determination. An element of urgency and affliction was now added to the fundamental aim of Zionist strategy - to achieve Jewish statehood.
By October 1944, the Jewish Agency had indicated to the British government that its political aim was to transform Palestine into a Jewish Commonwealth at the end of the war. Without varying from this goal, between 1944 and 1947, Zionist policy was to undergo several changes in its position a possible partition of the country between Jews and Arabs. The United Nations approved a plan to partition Palestine into a Jewish and Arab state in 1947, but the Arabs rejected it.
In May 1948, Israel was officially declared an independent state with David Ben-Gurion, the head of the Jewish Agency, as the prime minister.
While this historic event seemed to be a victory for Jews, it also marked the beginning of more violence with the Arabs. Following the announcement of an independent Israel, five Arab nations—Egypt, Jordan, Iraq, Syria, and Lebanon—immediately invaded the region in what became known as the 1948 Arab-Israeli War.
Civil war broke out throughout all of Israel, but a cease-fire agreement was reached in 1949. As part of the temporary armistice agreement, the West Bank became part of Jordan, and the Gaza Strip became Egyptian territory.
Sources: https://www.history.com/topics/middle-east/history-of-israel
https://www.yadvashem.org/odot_pdf/Microsoft%20Word%20-%203575.pdf