When the Israelites had entered the Promised Land and had attained a measure of rest there, they were to remember that God had commanded them to exterminate the Amalekites. They were to do this because of the Amalekites" treatment of Israel in the wilderness ( Deuteronomy 25:17-19; cf. Exodus 17:8-16; Numbers 24:20; 1 Chronicles 4:42-43). [source][source][source]
"Particular importance is attached to the fate of the Amalekites in the Pentateuch, especially as a sign of God"s faithfulness in fulfilling his promises." [1][source]
"Taken together, the laws of love and hate amount to the single requirement to love God, and consequently to love whom he loves and hate whom he hates." [2][source]