"Remember what the Amalekites did to you as you were coming from Egypt. 1
References for Deuteronomy 25:17
25.17-19 Ex 17.8-14; 1 S 15.2-9.
They had no fear of God, and so they attacked you from the rear when you were tired and exhausted, and killed all who were straggling behind.
So then, when the Lord your God has given you the land and made you safe from all your enemies who live around you, be sure to kill all the Amalekites, so that no one will remember them any longer. Do not forget!