"Do not put your hand together with the wicked to be an unrighteous witness"Exodus 23:1.

It is forbidden for a judge to accept testimony from an evil person – e.g., a robber or a desperado – and to issue a verdict based on that testimony.