Render it:
(1) If there be a controversy between men, and they come to judgment, and the judges judge them, and justify the righteous and condemn the wicked (compare the marginal reference. and Exodus 23:7; Proverbs 17:15);
(2) then it shall be, etc.
Scourging is named as a penalty in Leviticus 19:20. The beating here spoken of would be on the back with a rod or stick (compare Proverbs 10:13; Proverbs 19:29; Proverbs 26:3).