No, not just villains. Pretentious glory hound heroes also monologue. And sometimes heroes trying to avoid fighting someone they don’t want to. There’s also when a hero is setting the stage for the narrative (read: trypically trying to establish themselves as tragic/brooding/edgy).