Exodus 17:14

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."

Exodus 17:14 In-Context

12 When Moses' arms got tired, Aaron and Hur got a stone and put it under him. Then he sat on it. Aaron and Hur held his hands up. Aaron was on one side, and Hur was on the other. Moses' hands remained steady until sunset.
13 So Joshua destroyed the Amalekite army with swords.
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."
15 Then Moses built an altar. He called it The LORD Is My Banner.
16 He said, "I raised my hands toward the throne of the Lord. The LORD will fight against the Amalekites for all time to come."
Holy Bible, New International Reader's Version® Copyright © 1995, 1996, 1998 by Biblica.   All rights reserved worldwide.