They were even instructed on beatings and exceeding the number allowed per the fault
Duet 25:2 And it shall be, if the wicked man be worthy to be beaten,
that the judge shall cause him to lie down,
and to be beaten before his face, according to his fault, by a certain number.
Duet 25:23 Forty stripes he may give him, and not exceed:
lest, if he should exceed, and beat him above these with many stripes,
then thy brother should seem vile unto thee.
Paul was given stripes too
2 Cr 11:23 Are they ministers of Christ? (I speak as a fool ) I am more;
in labours more abundant, in stripes above measure, in prisons more frequent, in deaths oft.
He says,
2 Cr 11:24 Of the Jews five times received I forty stripes save one .
I like how he put that, forty stripes save one
Duet 25:23 Forty stripes he may give him, and not exceed:
lest, if he should exceed, and beat him above these with many stripes,
then thy brother should seem vile unto thee.
Wow... Paul five times received forty stripes (save one)
that did not include being beaten thrice with rods and stoned once.