1 Samuel 15:13, 20, 22-24, 27, 30 NIV

When Samuel reached him, Saul said, “The Lord bless you! I have carried out the Lord ’s instructions.” … “But I did obey the Lord,” Saul said. “I went on the mission the Lord assigned me. I completely destroyed the Amalekites and brought back Agag their king. But Samuel replied: “Does the Lord delight in burnt offerings and sacrifices as much as in obeying the Lord? To obey is better than sacrifice, and to heed is better than the fat of rams. For rebellion is like the sin of divination, and arrogance like the evil of idolatry. Because you have rejected the word of the Lord, he has rejected you as king.” Then Saul said to Samuel, “I have sinned. I violated the Lord ’s command and your instructions. I was afraid of the men and so I gave in to them. As Samuel turned to leave, Saul caught hold of the hem of his robe, and it tore. Saul replied, “I have sinned. But please honor me before the elders of my people and before Israel; come back with me, so that I may worship the Lord your God.”