Ezekiel 14:10

10 Both prophets and anyone who consults them will get the same punishment.