The passage discusses Saul's disobedience to God's command to utterly destroy the Amalekites. When Samuel confronts Saul about sparing some of the livestock, Saul tries to justify his actions by saying the people spared them to sacrifice to God. Samuel tells Saul that obedience is better than sacrifice, and that rebelling against God's word is as serious as idolatry. Because Saul disobeyed, God rejects him as king over Israel.