First Samuel 15:23 says, "For rebellion is as the sin of witchcraft, and stubbornness is as iniquity and idolatry." Witchcraft is Satan's realm, and he excels in counterfeiting what God does. When Moses performed miracles before Pharaoh, the magicians did the same things through demonic power (Exodus 8:7).