The Lord said to Moses, “Write this reminder on a scroll, and make sure that Joshua hears it, too: I will completely erase any memory of the Amalekites from the earth.”
The wicked are dead. They are no longer alive. The spirits of the dead won’t rise. You have punished them, destroyed them, and wiped out all memory of them.
We know that if the life we live here on earth is ever taken down like a tent, we still have a building from God. It is an eternal house in heaven that isn’t made by human hands.