For rebellion is like the sin of divination, and defiance is like the wickedness of idolatry. Because you have rejected the word of Yahweh, he has rejected you from being king.”
In context
21But the troops took sheep and oxen from the plunder, the best of what was devoted to destruction, to sacrifice to Yahweh your God at Gilgal.” 22Samuel said, “Does Yahweh delight in burnt offerings and sacrifices as much as in obedience to the voice of Yahweh? Look — to obey is better than sacrifice, to heed, better than the fat of rams. 23For rebellion is like the sin of divination, and defiance is like the wickedness of idolatry. Because you have rejected the word of Yahweh, he has rejected you from being king.” 24Saul said to Samuel, “I have sinned. I transgressed the command of Yahweh and your words, because I feared the people and obeyed their voice. 25Now, please, forgive my sin and come back with me, so that I may bow down to Yahweh.”