He is going to punish the people of Amalek because their ancestors opposed the Israelites when they were coming from Egypt.