Jewish Publication Society of America Version (JPS1917) - Exodus 23:2 >

Thou shalt not follow a multitude to do evil; neither shalt thou bear witness in a cause to turn aside after a multitude to pervert justice;

King James Version (KJV) - Exodus 23:2 >

¶ Thou shalt not follow a multitude to [do] evil; neither shalt thou speak in a cause to decline after many to wrest [judgment:]

Berean Study Bible (BSB) - Exodus 23:2 >

You shall not follow the crowd in wrongdoing. When you testify in a lawsuit, do not pervert justice by siding with the crowd.