Whenever the Israelites planted crops, the Midianites, Amalekites, and other peoples from the east would come and attack them.