"Son of Man, these people have installed idols in their hearts. They
have embraced the wickedness that will ruin them." Ezekiel 14:3a
Isn’t it interesting that God’s issue with the people of Jerusalem was not with the physical act of setting up an idol in their home, their temple, their city – but the fact that they set up an idol in their hearts. Jesus made the same distinction in His sermon on the mount. It’s so easy to focus our time, attention, guilt and shame on a sinful act – that we never deal with the heart-issue that motivated that act.
God isn’t as interested in cleaning up our acts as He is in cleaning up our hearts. When the heart is clean, the actions will follow.