In the 4th aliyah (section) of Parshas Mishpatim, there are many laws relating to judges. However, the aliyah ends off with mitzvos of compassion. This balance between mishpat (justice) and chessed (kindness) creates a fascinating dynamic. The ideal is mishpat, which is truth, and the original way that Hashem intended to create the world. However, He added chessed and rachamim (mercy) when He saw that it would be unable to stand. The Torah begins and ends with both of these elements, and there is a balance between the two that we must work to find and implement.