Book of Deuteronomy
Judaism does make it clear that Jews shall not try to learn about the ways of witches (Book of Deuteronomy 18: 9–10) and that witches are to be put to death (Exodus 22:17).