The country 's first 20 years were consumed with the struggle to house , feed , and educate the new arrivals , despite austere economic conditions and the constant threat of military attack from neighboring countries .
The country endured threats of military attack because it accepted foreigners .