Whenever the Israelites planted their crops, the Midianites, Amalekites and other eastern peoples invaded the country.