1 Samuel 15:16-24

ISV(i) 16 “Be quiet!” Samuel said. “I’ll tell you what the LORD told me last night.”
Saul told him, “Speak.”
17 So Samuel replied, “Is it not true that though you were small in your own eyes you became head of the tribes of Israel, and the LORD anointed you king over Israel? 18 The LORD sent you on a mission: ‘Go and completely destroy the sinners, the Amalekites, and fight against them until they’re destroyed.’ 19 Why didn’t you obey the LORD, but grabbed the spoil and did evil in the LORD’s sight?”
20 Saul told Samuel, “I did obey the LORD. I went on the mission on which the LORD sent me, I brought Agag king of Amalek, and I completely destroyed the Amalekites. 21 The people took some of the spoil—sheep, cattle, and the best of what was to be completely destroyed—to sacrifice to the LORD your God at Gilgal.”
22 Samuel said, “Does the LORD delight as much in burnt offerings and sacrifices as in obeying the LORD? Surely, to obey is better than sacrifice, to pay attention is better than the fat of rams. 23 Indeed, rebellion is the sin of divination, and arrogance is iniquity and idolatry. Because you have rejected this message from the LORD, he has rejected you from being king.”
24 “I’ve sinned,” Saul replied to Samuel. “I’ve broken the LORD’s command and your word, because I was afraid of the people and listened to them.