The verb anathematize means to completely condemn, something you would do to a mortal enemy or a truly horrible person.
If you've decided that your math teacher is just plain evil, you might anathematize him, or curse his name. The word anathematize comes from anathema, which means something you really hate. When you anathematize someone, you declare your hatred for that person. The root word is the Greek anathematizein, which means "to denote something to be evil."