First
Samuel 15 records God's command through Samuel that
Saul strike Amalek. Saul defeated the Amalekites but spared King Agag and the best livestock. When Saul claimed obedience, Samuel confronted him and declared that obedience was better than sacrifice and that God had rejected him as king. Agag was then brought before Samuel, who executed him. The name Agag also appears earlier in Balaam's oracle and may have functioned as a royal name or title. Esther later calls Haman an Agagite, evoking the older conflict with Amalek.