Exodus 17:13-16 Amplified Bible (AMP)

13. And Joshua mowed down and disabled Amalek and his people with the sword.

14. And the Lord said to Moses, Write this for a memorial in the book and rehearse it in the ears of Joshua, that I will utterly blot out the remembrance of Amalek from under the heavens. [I Sam. 15:2-8.]

15. And Moses built an altar and called the name of it, The Lord is my Banner;

16. And he said, Because [theirs] is a hand against the throne of the Lord, the Lord will have war with Amalek from generation to generation.

Exodus 17