Ezekiel 14:3-4

14:3 “Son of man, these men have erected their idols in their hearts and placed the obstacle leading to their iniquity right before their faces. Should I really allow them to seek me? 14:4 Therefore speak to them and say to them, ‘This is what the sovereign Lord says: When any one from the house of Israel erects his idols in his heart and sets the obstacle leading to his iniquity before his face, and then consults a prophet, I the Lord am determined to answer him personally according to the enormity of his idolatry.