Justice justice you shall pursue
כדתניא צדק צדק תרדף אחד לדין ואחד לפשרה כיצד שתי ספינות עוברות בנהר ופגעו זה בזה אם עוברות שתיהן שתיהן טובעות בזה אחר זה שתיהן עוברות וכן שני גמלים שהיו עולים במעלות בית חורון ופגעו זה בזה אם עלו שניהן שניהן נופלין בזה אחר זה שניהן עולין
As it is taught in a baraita: When the verse states: “Justice, justice, shall you follow,” one mention of “justice” is stated with regard to judgment and one is stated with regard to compromise. How so? Where there are two boats traveling on the river and they encounter each other, if both of them attempt to pass, both of them sink, as the river is not wide enough for both to pass. If they pass one after the other, both of them pass. And similarly, where there are two camels who were ascending the ascent of Beit Ḥoron, where there is a narrow steep path, and they encounter each other, if both of them attempt to ascend, both of them fall. If they ascend one after the other, both of them ascend.
הא כיצד טעונה ושאינה טעונה תידחה שאינה טעונה מפני טעונה קרובה ושאינה קרובה תידחה קרובה מפני שאינה קרובה היו שתיהן קרובות שתיהן רחוקות הטל פשרה ביניהן ומעלות שכר זו לזו
How does one decide which of them should go first? If there is one boat that is laden and one boat that is not laden, the needs of the one that is not laden should be overridden due to the needs of the one that is laden. If there is one boat that is close to its destination and one boat that is not close to its destination, the needs of the one that is close should be overridden due to the needs of the one that is not close. If both of them were close to their destinations, or both of them were far from their destinations, impose a compromise between them to decide which goes first, and the owners of the boats pay a fee to one other, i.e., the owners of the first boat compensate the owner of the boat that waits, for any loss incurred.
מִי שֶׁיֶּשׁ לוֹ חֲמִשִּׁים זוּז וְהוּא נוֹשֵׂא וְנוֹתֵן בָּהֶם, הֲרֵי זֶה לֹא יִטֹּל. וְכָל מִי שֶׁאֵינוֹ צָרִיךְ לִטֹּל וְנוֹטֵל, אֵינוֹ נִפְטָר מִן הָעוֹלָם עַד שֶׁיִּצְטָרֵךְ לַבְּרִיּוֹת. וְכָל מִי שֶׁצָּרִיךְ לִטֹּל וְאֵינוֹ נוֹטֵל, אֵינוֹ מֵת מִן הַזִּקְנָה עַד שֶׁיְּפַרְנֵס אֲחֵרִים מִשֶּׁלּוֹ, וְעָלָיו הַכָּתוּב אוֹמֵר בָּרוּךְ הַגֶּבֶר אֲשֶׁר יִבְטַח בַּה' וְהָיָה ה' מִבְטַחוֹ (ירמיה יז). וְכֵן דַּיָּן שֶׁדָּן דִּין אֱמֶת לַאֲמִתּוֹ. וְכָל מִי שֶׁאֵינוֹ לֹא חִגֵּר, וְלֹא סוּמָא, וְלֹא פִסֵּחַ, וְעוֹשֶׂה עַצְמוֹ כְּאַחַד מֵהֶם, אֵינוֹ מֵת מִן הַזִּקְנָה עַד שֶׁיִּהְיֶה כְּאֶחָד מֵהֶם, שֶׁנֶּאֱמַר (דברים טז) צֶדֶק צֶדֶק תִּרְדֹּף. וְכָל דַּיָּן שֶׁלּוֹקֵחַ שֹׁחַד וּמַטֶּה אֶת הַדִּין, אֵינוֹ מֵת מִן הַזִּקְנָה עַד שֶׁעֵינָיו כֵּהוֹת, שֶׁנֶּאֱמַר (שמות כג) וְשֹׁחַד לֹא תִקָּח כִּי הַשֹּׁחַד יְעַוֵּר פִּקְחִים וְגוֹ':
סְלִיק מַסֶּכֶת פֵּאָה
Someone who has fifty Zuz, and he uses them for business, he may not take. And anyone who does not need to take, but takes anyway, will not depart from the world until he will become dependent on others. And all who need to take, yet do not take, will not die from old age until he will [be enabled to] provide for others from his portion. Regarding this, scripture states, “Blessed is the man that relies on G-d, and G-d will be his security” (Jeremiah 17:7). [The same is true] for a judge who judges in absolute truth. And he who is neither lame, nor blind, nor crippled, yet he pretends to be one of these, he will not die of old age until he becomes like one of these, as it says, “Justice, justice shall you pursue.” (Deuteronomy 16:20) And every judge who takes a bribe and subverts the law, he will not die of old age until his eyes have dimmed, as it says, “And you shall not take a bribe, because a bribe blinds those who can see and understand, etc.” (Exodus 23:8)