Exodus 17:14 ESV

14 Then the LORD said to Moses, "Write this as a memorial in a book and recite it in the ears of 1Joshua, that 2I will utterly blot out the memory of Amalek from under heaven."

References for Exodus 17:14