Perhaps you tend to think of an idol as figure made from wood or stone to which primitive people worship. But the LORD defined idolatry to Ezekiel as anything a person puts before him that causes him to stumble into sin. Idols are not just the carved objects that sit in pagan temples; they are the godless cravings and commitments that rule our hearts.
The people of Ezekiel’s day set up these “idols of the heart,” even as they continued to practice their religious rituals. Having committed themselves to ungodly purposes, they turned to the prophets expecting to hear a word from the LORD. They heard otherwise. God promised to confound these hypocrites by telling them whatever they wanted to hear. Ultimately their idols would fail, and they would be held accountable.