1 Samuel 15:23

For rebellion is as the sin of witchcraft, And stubbornness is as iniquity and idolatry. Because you have rejected the word of the LORD, He also has rejected you from being king."