Then Samuel said to Saul, “The LORD sent me to anoint you as king over His people, over Israel; now therefore, listen to the words of the LORD. Thus says the LORD of hosts, ‘I will punish Amalek for what he did to Israel, how he set himself against him on the way while he was coming up from Egypt. Now go and strike Amalek and utterly destroy all that he has, and do not spare him; but put to death both man and woman, child and infant, ox and sheep, camel and donkey.’ ”
Then Saul summoned the people and numbered them in Telaim, 200,000 foot soldiers and 10,000 men of Judah. Saul came to the city of Amalek and set an ambush in the valley. Saul said to the Kenites, “Go, depart, go down from among the Amalekites, so that I do not destroy you with them; for you showed kindness to all the sons of Israel when they came up from Egypt.” So the Kenites departed from among the Amalekites. So Saul defeated the Amalekites, from Havilah as you go to Shur, which is east of Egypt. He captured Agag the king of the Amalekites alive, and utterly destroyed all the people with the edge of the sword. But Saul and the people spared Agag and the best of the sheep, the oxen, the fatlings, the lambs, and all that was good, and were not willing to destroy them utterly; but everything despised and worthless, that they utterly destroyed.
Then the word of the LORD came to Samuel, saying, “I regret that I have made Saul king, for he has turned back from following Me and has not carried out My commands.” And Samuel was distressed and cried out to the LORD all night. Samuel rose early in the morning to meet Saul; and it was told Samuel, saying, “Saul came to Carmel, and behold, he set up a monument for himself, then turned and proceeded on down to Gilgal.” Samuel came to Saul, and Saul said to him, “Blessed are you of the LORD! I have carried out the command of the LORD.” But Samuel said, “What then is this bleating of the sheep in my ears, and the lowing of the oxen which I hear?” Saul said, “They have brought them from the Amalekites, for the people spared the best of the sheep and oxen, to sacrifice to the LORD your God; but the rest we have utterly destroyed.” Then Samuel said to Saul, “Wait, and let me tell you what the LORD said to me last night.” And he said to him, “Speak!”
Samuel said, “Is it not true, though you were little in your own eyes, you were made the head of the tribes of Israel? And the LORD anointed you king over Israel, and the LORD sent you on a mission, and said, ‘Go and utterly destroy the sinners, the Amalekites, and fight against them until they are exterminated.’ Why then did you not obey the voice of the LORD, but rushed upon the spoil and did what was evil in the sight of the LORD?”
Then Saul said to Samuel, “I did obey the voice of the LORD, and went on the mission on which the LORD sent me, and have brought back Agag the king of Amalek, and have utterly destroyed the Amalekites. But the people took some of the spoil, sheep and oxen, the choicest of the things devoted to destruction, to sacrifice to the LORD your God at Gilgal.” Samuel said,
“Has the LORD as much delight in burnt offerings and sacrifices
As in obeying the voice of the LORD?
Behold, to obey is better than sacrifice,
And to heed than the fat of rams.
For rebellion is as the sin of divination,
And insubordination is as iniquity and idolatry.
Because you have rejected the word of the LORD,
He has also rejected you from being king.”