Deu 32:17 is one of many Old Testament Scriptures that indicate that when the people of Israel offered sacrifices to idols, they actually offered them to demons. An idol in and of itself is nothing. But demonic entities can, indeed, be connected to idols.