"But when Israel transgressed and sinned, God asked Israel whether it thought that it was respected on its own account, when it was respected only on account of the respect that was due to God.So God turned away from them a little, and the Amalekites came and attacked Israel, as reports, "Then Amalek came, and fought with Israel in Rephidim," and then the Canaanites came and fought with Israel, as reports, "And the Canaanite, the king of Arad, who dwelt in the South, heard tell that Israel came by the way of Atharim; and he fought against Israel."