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.”
Then Saul said to Samuel, “I have sinned; I have indeed transgressed the command of the LORD and your words, because I feared the people and listened to their voice. Now therefore, please pardon my sin and return with me, that I may worship the LORD.” But Samuel said to Saul, “I will not return with you; for you have rejected the word of the LORD, and the LORD has rejected you from being king over Israel.”