The He Who Fights Monsters trope as used in popular culture. Usually, not quite a villain, but they act antagonistically enough that they’re little better.

Source: He Who Fights Monsters – TV Tropes