Alternatively, our verse addresses the people who are subject to litigation and exhorts them to strive for righteousness regardless of whether this will be financially beneficial or harmful to them. This is why the Torah repeats the exhortation.
(א) צדק צדק תרדף טעם הכפל לומר הדיינין צריכין שישפטו את העם משפט צדק וגם אתה צריך לרדוף הצדק תמיד
The reason for the doubling is to teach not only judges must pursue pursue righteousness for the people but You too must constantly seek justice.
צדק צדק תרדוף. שאין חקר וסוף לבחי' צדק ואמת. כי ה' אלקים אמת. ולכך לעולם יש להוסיף ולהעמיק שיהי' אמת לאמיתו. כי אינו אמת עד שנעשה כל האדם אחד מיוחד לעבודתו ית' ואמת מראש עד סוף אותיות התורה. בשם הרב הק' מפרשיסחא היהודי ז"ל להיות רדיפת הצדק. בצדק לא בשקר. ודפח"ח:
Justice Justice - There is no end to seeking Truth and Justice because G!d is Truth. Thus there is always a need for everyone to reach deeper towards their Truth. Because it is not Truth until all uniquely perform their divine service. This is what the Yehudi Hakadosh says it means to run after Justice. Justice and not Lies.