1 Samuel 15:23

23 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.”

Read 1 Samuel 15:23 Using Other Translations

For rebellion is as the sin of witchcraft, and stubbornness is as iniquity and idolatry. Because thou hast rejected the word of the LORD, he hath also rejected thee from being king.
For rebellion is as the sin of divination, and presumption is as iniquity and idolatry. Because you have rejected the word of the LORD, he has also rejected you from being king."
Rebellion is as sinful as witchcraft, and stubbornness as bad as worshiping idols. So because you have rejected the command of the LORD, he has rejected you as king.”