Ezekiel 14:3-7

3 Son of man, these men have set up their idols in their heart, and put the stumbling block of their iniquity before their face: should I be inquired of at all by them?

4 Therefore speak to them, and say to them, Thus said the Lord GOD; Every man of the house of Israel that sets up his idols in his heart, and puts the stumbling block of his iniquity before his face, and comes to the prophet; I the LORD will answer him that comes according to the multitude of his idols;

5 That I may take the house of Israel in their own heart, because they are all estranged from me through their idols.

6 Therefore say to the house of Israel, Thus said the Lord GOD; Repent, and turn yourselves from your idols; and turn away your faces from all your abominations.

7 For every one of the house of Israel, or of the stranger that sojournes in Israel, which separates himself from me, and sets up his idols in his heart, and puts the stumbling block of his iniquity before his face, and comes to a prophet to inquire of him concerning me; I the LORD will answer him by myself: