Exodus 17:14
14 Then the Lord said to Moses, “Write this as a memorial in a book and recite it in the ears of gJoshua, that kI will utterly blot out the memory of Amalek from under heaven.”
Exodus 34:27
27 And the Lord said to Moses, “Write these words, for in accordance with these words rI have made a covenant with you and with Israel.”