Samuel said to him, Yahweh has torn the kingdom of Israel from you this day, and has given it to a neighbor of yours who is better than you.
In order that God might be avenged against the Amaleks. Now you think, "Oh that's a horrible command of God." You would think so until historically you would study the practices and all of the Amaleks. They were so corrupt. They were going to wipe out themselves. God was just ordering really the eradication of a cancer within the society. They were like mad dogs. If you don't destroy them, they're gonna hurt innocent people. So God ordered the utter destruction of the Amaleks.Now another factor here is that the Amaleks are always a type of the flesh in the scripture. The Amaleks being a type of the flesh; God is ordering the utter destruction of the flesh. "Wipe it out completely, don't give any place for the flesh."