There is no Righteous Vengeance: Dedicated to the memories of Eyal Yifrach, Gilad Shaar, Naftali Frenkel and Mohammed Abu Khdeir ז"ל
(יח) לֹא תִקֹּם וְלֹא תִטֹּר אֶת בְּנֵי עַמֶּךָ וְאָהַבְתָּ לְרֵעֲךָ כָּמוֹךָ אֲנִי יי.
(18) Thou shalt not take vengeance, nor bear any grudge against the children of thy people, but thou shalt love thy neighbour as thyself: I am the LORD.
(יב) שִׂנְאָה תְּעוֹרֵר מְדָנִים וְעַל כָּל פְּשָׁעִים תְּכַסֶּה אַהֲבָה.
(12) Hatred stirreth up strifes; But love covereth all transgressions.

(ה) אִם גָּמַלְתִּי שׁוֹלְמִי רָע וָאֲחַלְּצָה צוֹרְרִי רֵיקָם.

(5) If I have forgiven him that did evil unto me, Or spoiled mine adversary unto emptiness;

(א) בן זומא אומר:איזהו חכם? הלומד מכל אדם, שנאמר: (תהלים קיט צט): "מכל מלמדי השכלתי כי עדותיך שיחה לי".איזהו גבור? הכובש את יצרו , שנאמר (משלי טז לב): "טוב ארך אפים מגבור ומשל ברוחו מלכד עיר".איזהו עשיר? השמח בחלקו, שנאמר: (תהלים קכח ב): "יגיע כפיך כי תאכל אשריך וטוב לך".אשריך, בעולם הזה .וטוב לך, לעולם הבא.איזהו מכֻבד? המכבד את הבריות, שנאמר: (שמואל א ב ל): "כי מכבדי אכבד ובזי יקלו".

(1) Ben Zoma says: Who is the wise one? He who learns from all men, as it says, "I have acquired understanding from all my teachers" (Psalms 119:99). Who is the hero? He who conquers his desire, as it says, "slowness to anger is better than a mighty person." (Proverbs 16:32). Who is the rich one? He who is happy with his lot, as it says, "When you eat [from] the work of your hands, you will be happy, and it will be well with you" (Psalms 128:2). "You will be happy" in this world, and "it will be well with you" in the world to come. Who is honored? He who honors the created beings, as it says, "For, those who honor Me, I will honor; and those who despise me will be held in little esteem" (I Samuel 2:30).

ואסור להתמהמה בחילול שבת לחולה שיש בו סכנה שנאמר אשר יעשה אותם האדם וחי בהם ולא שימות בהם. הא למדת שאין משפטי התורה נקמה בעולם אלא רחמים וחסד ושלום בעולם.

Rambam: Shabbat: 2:3

(On the subject of treatments for the sick and dying on Shabbat)

It is forbidden to hesitate before transgressing the Sabbath on behalf of a person who is dangerously ill, as "which a person shall perform to live through them," as "to live through them' and not to die through them."

This teaches that the judgments of the Torah do not bring vengeance to the world, but rather bring mercy, kindness, and peace to the world.

Massechet Brachot: 10a

There were once some ruffians in the neighborhood of R. Meir who caused him a great deal of trouble. R. Meir prayed that they should die. His wife Bruria said to him: What are you thinking? Because it is written Let chata'im cease?’(Tehillim 104:35). Is it written chot'im (sinners)? It is written chata'im (sins)! Further, look at the end of the verse: “the wicked be no more.” Since the sins will cease, there will be no more wicked men! Rather pray for them that they should repent, and there will be no more wicked men. He did pray for them, and they repented.

Massechet Yoma: 23a

"It was taught: Which is vengeance and which is bearing a grudge? If one said: Lend me your scythe, and he was refused; and the next day the other said to him: Lend me your spade--If he replied: I will not lend it to you, just as you did not lend it to me--this is vengeance; and if he replied: Here it is--I am not like you, who do not lend--this is bearing a grudge."