1 Samuel 15:20-23 NIV

20 "But I did obey1 the LORD," Saul said. "I went on the mission the LORD assigned me. I completely destroyed the Amalekites and brought back Agag their king.

References for 1 Samuel 15:20

21 The soldiers took sheep and cattle from the plunder, the best of what was devoted to God, in order to sacrifice them to the LORD your God at Gilgal."
22 But Samuel replied: "Does the LORD delight in burnt offerings and sacrifices as much as in obeying the voice of the LORD? To obey is better than sacrifice,2 and to heed is better than the fat of rams.

References for 1 Samuel 15:22

23 For rebellion is like the sin of divination,3 and arrogance like the evil of idolatry. Because you have rejected4 the word of the LORD, he has rejected you as king."

References for 1 Samuel 15:23