NET
23 For rebellion is like the sin of divination, and presumption is like the evil of idolatry. Because you have rejected the Lord’s orders, he has rejected you from being king.”
Darby
23 For rebellion is [as] the sin of divination, And selfwill is [as] iniquity and idolatry. Because thou hast rejected the word of Jehovah, He hath also rejected thee from being king.
KJV
23 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.