1 Samuel 28:6
28:6 So Saul inquired of the Lord, but the Lord did not answer him – not by dreams nor by Urim nor by the prophets.
Ezekiel 14:3-5
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.
14:5 I will do this in order to capture the hearts of the house of Israel, who have alienated themselves from me on account of all their idols.’
Ezekiel 20:3
20:3 “Son of man, speak to the elders of Israel, and tell them: ‘This is what the sovereign Lord says: Are you coming to seek me? As surely as I live, I will not allow you to seek me, declares the sovereign Lord.’