Exodus 17:14; Exodus 32:32-33

14 Then the LORD said to Moses, "Write this in a book as a memorial and recite it to Joshua, that I will utterly blot out the memory of Amalek from under heaven."
32 "But now, if You will, forgive their sin -and if not, please blot me out from Your book which You have written!" 33 The LORD said to Moses, "Whoever has sinned against Me, I will blot him out of My book.