Exodus 17:13-16 World English Bible (WEB)

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

14. Yahweh said to Moses, “Write this for a memorial in a book, and rehearse it in the ears of Joshua: that I will utterly blot out the memory of Amalek from under the sky.”

15. Moses built an altar, and called its name Yahweh our Banner.

16. He said, “Yah has sworn: ‘Yahweh will have war with Amalek from generation to generation.’”

Exodus 17