Parshas Kedoshim · Passuk 19:18
Chabad.org — English translation + Rashi
Torah Temimah on Vayikra 19:18 · Yoma 23a · Shabbos 63a
You shall not take vengeance nor bear a grudge — Rabbi Yochanan said in the name of Rabbi Shimon ben Yochai: Any Torah scholar who is not vengeful and does not bear a grudge like a snake is not a scholar; and although it is written “you shall not take vengeance…,” that verse is written regarding money.
Classical derasha (TT)
The Torah ban on revenge applies to monetary matters; spiritual honor of Torah may demand a measured response that weakens over time like a snake’s venom.