Torah Temimah cites Nazir 62b.
One might think that if he swore to harm others and did not, he would be liable — Scripture says “to harm or to benefit”: just as benefit is optional, so harm is optional.
Harm to others that is not within his rights is excluded from the oleh ve-yored of shevu’as bitui by the parallel to optional benefit.
Category D — Conceptual / legal inference
Method — The Gemara distinguishes optional self-directed harm from harm to another person, which the swearer has no right to impose. Because the parallel “benefit” is something within one’s authority, the verse does not impose shevu’as bitui liability for an oath to harm another person without legal authority.
Textual trigger — “לְהָרַע אוֹ לְהֵיטִיב,” and the rule “מַה הֲטָבָה רְשׁוּת אַף הֲרָעָה רְשׁוּת.”