The Lord spoke through Ezekiel revealing the problem of foolish and false prophets, that their preaching did not defend Israel from falsehood (Ezekiel 13:5), and that they had made up their own visions, hoping that what they predicted would come to pass (Ezekiel 13:6, 7).
However, the Lord said that He had not sent them, and that He had not spoken through them.
Many claim to speak directly for God. How do we know whether they do or not? Compare what they say with what God has already said, and you will soon discover whether the Lord has sent them.