Ellicott has a useful summary of all this in his inimitable cogent style:
And if the prophet be deceived.—The exact sense of the original is, “If a prophet be persuaded and speak a word, I the LORD have persuaded that prophet.” The thought is thus in close connection with what precedes; in Ezekiel 14:3-4; Ezekiel 14:7, the Lord has refused to allow an answer through the prophet to the hypocritical enquirer; but if the prophet, by giving the desired answer, allows himself to become a partaker of the sin which God abhors, then God will treat him according to that general method of dealing with sin which is here described. He “persuades” the prophet in the same sense in which He hardened Pharaoh’s heart, by making such persuasion the natural consequence of the immutable moral laws which He has ordained. Men are held back from sin only by God’s own Holy Spirit drawing them towards Himself. When they set this aside by transgressing God’s commands, the inevitable tendency—the tendency under the moral laws God has established—is to further sin. Hence the prophet who allowed himself to be persuaded, contrary to God’s command, to answer the hypocritical enquirer at all, would inevitably be persuaded further to answer him according to his desires. God does not force men either to receive the truth or to act righteously. If, notwithstanding His remonstrances, their hearts are set upon wrong, He will even give them up and “send them strong delusion that they should believe a lie” (2Thessalonians 2:11).