I recently read an article that stated that the references to Amalek are always one of remembrance, rather than a call to violence or genocide by Israel. See: https://blogs.timesofisrael.com/the-amalek-blood-libel/.

But why is it necessary to remember Amalek? Because the spirit of Amalek which wishes to destroy the Jews rises up in every generation.

This is seen in the story of Esther, where a grandson of Amalek, Haman, is the villain. Haman so hated the Jews that he prevailed on the King to issue an edict permitting the people to destroy all of the Jews in the kingdom. Unfortunately for Haman, Esther, who was a Jew, was also the Queen, and was able to plead with the King to spare her life and the life of her people. Haman ended up hung on the gallows that he prepared for her Uncle Mordechai.

Unfortunately, the remaining problem was that an edict of the king could not simply be revoked, which meant that even after Haman was hung, others could still kill the Jews.  What to do?

The King gave Mordechai and Esther the right to issue another edict to be sent throughout his kingdom. They could have issued any edict they wished. However, they did not wish to destroy everyone. Therefore, a new edict drafted by Mordechai and Esther simply gave the Jews the right to assemble and defend their lives, and to destroy all forces raised against them. This the Jews were able to do, and quite successfully. Their enemies were  slaughtered and annihilated, and joy and rejoicing at their deliverance filled the cities.  In fact many people converted to Judaism as a result of this.

So let us remember Amalek, and let those who wish to annihilate the Jews see the destruction they have planned come upon on their own heads, but let there be peace among all that remain.