Source: שבת י. (Shabbos 10a) · Category: Fascinating Topics

The Gemara in שבת י. (Shabbos 10a) says that any judge who renders a judgment that is absolutely true, even if he sits in judgment for only a short time, is considered by the pasuk as if he became a partner with the Holy One in the act of creation. The Gemara compares “ויעמד העם על משה מן הבקר עד הערב” (“and the people stood over Moshe from the morning until the evening,” Shemos 18:13) with “ויהי ערב ויהי בקר יום אחד” (“and it was evening and it was morning, one day,” Bereishis 1:5).

Hashem created this world with the intention that it endure, but the wicked who steal and plunder cause it to be destroyed, like dor hamabul; see סנהדרין קח. (Sanhedrin 108a). So a judge who thwarts the efforts of thieves, by determining the ownership of stolen property, contributes to the world’s continued existence.

See also the Tur (Choshen Mishpat 1) and Rabbeinu Perachya.

Shabbos 10a