Ezekiel 14:7-8
14:7 For when anyone from the house of Israel, or the foreigner who lives in Israel, separates himself from me and erects his idols in his heart and sets the obstacle leading to his iniquity before his face, and then consults a prophet to seek something from me, I the Lord am determined to answer him personally.
14:8 I will set my face against that person and will make him an object lesson and a byword 1 and will cut him off from among my people. Then you will know that I am the Lord.