Deuteronomy 25:17-19 WEB

17 Remember what Amalek did to you by the way as you came forth out of Egypt;
18 how he met you by the way, and struck the hindmost of you, all who were feeble behind you, when you were faint and weary; and he didn't fear God.
19 Therefore it shall be, when Yahweh your God has given you rest from all your enemies round about, in the land which Yahweh your God gives you for an inheritance to possess it, that you shall blot out the memory of Amalek from under the sky; you shall not forget.