The meaning is “Rebellion is as bad as the sin of divination, and stubbornness is as bad as worshipping false gods (iniquity), and teraphim (idolatry).”