Anathema, is from the Greek word άνάθεμα anathema, from Greek άνάτιθεναι anatithenai, from the Greek άνά ana up + τιθεναι tithenai to set, to place, dedicate; originally "a thing devoted," literally "a thing set up (to the gods)". Originally an anathema was simply a votive offering. With the spread of Christianity, it came to mean "anything dedicated (to evil)"; thus, a thing or person greatly abhorred, detested, cursed ("accursed") as utterly unacceptable, rejected, condemned, damned. It has both religious and secular meanings.
In religion an anathema is a curse pronounced by an authorized religious or ecclesiastical authority on anything or anyone that is found to be unacceptable, disapproved, rejected, or is officially excommunicated.