Exodus 17:14 NIRV

14 Then the LORD said to Moses, "That is something to be remembered. So write it on a scroll. Make sure Joshua knows you have done it. I will completely erase the memory of the Amalekites from the earth."