Answer:
No it wasn't.
They were attacked by the armies of neighboring Arab countries.
Step-by-step explanation:
Before Israel became a nation, the majority of people dwelling in the region were Palestinians—Arabs who lived in what was then known as Palestine. On May 14, 1948, Israel was officially declared a state, marking the first Jewish state in over 2,000 years.
The roots of the Arab–Israeli conflict have been attributed to the support by Arab League member countries for the Palestinians, a fellow League member, in the ongoing Israeli–Palestinian conflict, which in turn has been attributed to the simultaneous rise of Zionism and Arab nationalism.