Ezekiel 14:9-11 English Standard Version (ESV)

9. And if the prophet is deceived and speaks a word, I, the Lord, have deceived that prophet, and I will stretch out my hand against him and will destroy him from the midst of my people Israel.

10. And they shall bear their punishment—the punishment of the prophet and the punishment of the inquirer shall be alike—

11. that the house of Israel may no more go astray from me, nor defile themselves anymore with all their transgressions, but that they may be my people and I may be their God, declares the Lord God.”

Ezekiel 14