When, after Aaron's death, Amalek no longer considered Israel dangerous, since the clouds had disappeared, he instantly set about making war upon them. Amalek did not, however, go in open warfare against Israel, but tried through craft to attain what he dared not hope for in open warfare. Concealing their weapons in their garments, the Amalekites appeared in Israel's camp as if they meant to condole with them for Aaron's death, and the unexpectedly attacked them.
Not content with this, the Amalekites disguised themselves in Canaanite costume and spoke the speech of the latter, so that the Israelites might not be able to tell if they had before them Amalekites, as their personal appearance seemed to show, or Canaanites, as their dress and speech indicated. The reason for this disguise was that Amalek knew that Israel had inherited the legacy from their ancestor Isaac that God always answered their prayer, hence Amalek said: "If we now appear as Canaanites, they will implore God to send them aid against the Canaanites, and we shall slay them."
But all these wiles of Amalek were of no avail. Israel couched their prayer to God in these words: "O Lord of the world! We know not with what nation we are now waging war, whether with Amalek or with Canaan, but whichsoever nation it be, pray visit punishment upon it." God heard their prayer and, promising to stand by them, ordered them totally to annihilate their enemy, saying: "Although ye are now dealing with Amalek, do not treat him like Esau's other sons, against whom ye may not war, but try totally to destroy them, as if they were Canaanites."
Israel acted according to this command, slaying the Amalekites in battle, and dedicating their cities to God. Amalek's only gain in this enterprise was that, at the beginning of the war, they seized a slave woman who had once belonged to them, but who later passed over into the possession of the Israelites.