It happened that any time the Israelites planted their crops, the Midianites and the Amalekites and the people from the east would attack the Israelites.