Exodus 17:13-14

13And aJoshua overwhelmed Amalek and his people with the sword.

14Then the Lord said to Moses, “Write this as a memorial in a book and recite it in the ears of bJoshua, that cI will utterly blot out the memory of Amalek from under heaven.”
Copyright information for ESV