Established in 1920, the Socialist Zionists (Socialist Zionism meant dealing diplomatically with other nations and exercising restraint militarily) established the Haganah, an illegal underground army, as a result of increasing Arab violence.
The Haganah was the paramilitary group formed to defend Jews during post-Ottoman British occupied Palestine. It is interesting to note that there was a period when Jewish communities hired local Arabs to protect their populations against roving Bedouin gangs. Unfortunately, over time, many of the Arabs joined together with those who were attacking and thus, the Jews realized they only had themselves for protection.
The Haganah, meaning defense, had a philosophy of showing restraint and would not initiate any battles with the Arabs. Prior to this, there existed smaller Jewish groups to protect Jewish lands, but they quickly joined forces to become the Haganah, whose leader was David Ben-Gurion, Chairman of the Jewish Agency. The now more robust defense organization would, of course, defend itself against Arab infiltrators.
The British outlawed the Haganah and made it a crime to obtain weapons for any Jewish organization. The same stringent laws were not imposed upon the Arabs. It became increasingly apparent that Jews could not rely on the British to protect them against Arab hostilities, and that they would need to defend themselves.
This thought process continues until today; Israel only relies on itself for protection – you will not find U.S. troops or any other forces in Israel defending the Jewish homeland. In addition to defense, the Haganah was instrumental in smuggling Jews out of Nazi occupied Europe and North Africa during WWII, and even post-war to ensure safe passage of Jews to Eretz Yisrael (Land of Israel). The Haganah eventually morphed into the Israeli Defense Forces, the current standing army of Israel.