Exodus 17:13-14

17:13 So Joshua destroyed Amalek and his army with the sword.

17:14 The Lord said to Moses, “Write this as a memorial in the book, and rehearse it in Joshua’s hearing; for I will surely wipe out the remembrance of Amalek from under heaven.