Ezekiel 14:1-7 New Revised Standard Version (NRSV)
God’s Judgments Justified
14 Certain elders of Israel came to me and sat down before me. 2 And the word of the Lord came to me: 3 Mortal, these men have taken their idols into their hearts, and placed their iniquity as a stumbling block before them; shall I let myself be consulted by them? 4 Therefore speak to them, and say to them, Thus says the Lord God: Any of those of the house of Israel who take their idols into their hearts and place their iniquity as a stumbling block before them, and yet come to the prophet—I the Lord will answer those who come with the multitude of their idols, 5 in order that I may take hold of the hearts of the house of Israel, all of whom are estranged from me through their idols.
6 Therefore say to the house of Israel, Thus says the Lord God: Repent and turn away from your idols; and turn away your faces from all your abominations. 7 For any of those of the house of Israel, or of the aliens who reside in Israel, who separate themselves from me, taking their idols into their hearts and placing their iniquity as a stumbling block before them, and yet come to a prophet to inquire of me by him, I the Lord will answer them myself.