ESV: As you go with your accuser before the magistrate, make an effort to settle with him on the way, lest he drag you to the judge, and the judge hand you over to the officer, and the officer put you in prison.
NIV: As you are going with your adversary to the magistrate, try hard to be reconciled on the way, or your adversary may drag you off to the judge, and the judge turn you over to the officer, and the officer throw you into prison.
NASB: For when you are going with your accuser to appear before the magistrate, on the way, make an effort to settle with him, so that he does not drag you before the judge, and the judge hand you over to the officer, and the officer throw you into prison.
CSB: As you are going with your adversary to the ruler, make an effort to settle with him on the way. Then he won’t drag you before the judge, the judge hand you over to the bailiff, and the bailiff throw you into prison.
NLT: When you are on the way to court with your accuser, try to settle the matter before you get there. Otherwise, your accuser may drag you before the judge, who will hand you over to an officer, who will throw you into prison.
KJV: When thou goest with thine adversary to the magistrate, as thou art in the way, give diligence that thou mayest be delivered from him; lest he hale thee to the judge, and the judge deliver thee to the officer, and the officer cast thee into prison.
NKJV: When you go with your adversary to the magistrate, make every effort along the way to settle with him, lest he drag you to the judge, the judge deliver you to the officer, and the officer throw you into prison.