Exodus 17:13-16 American Standard Version (ASV)

13. And Joshua discomfited Amalek and his people with the edge of the sword.

14. And Jehovah said unto Moses, Write this for a memorial in a book, and rehearse it in the ears of Joshua: that I will utterly blot out the remembrance of Amalek from under heaven.

15. And Moses built an altar, and called the name of it Jehovah-nissi;

16. And he said, Jehovah hath sworn: Jehovah will have war with Amalek from generation to generation.

Exodus 17