If the guilty person has to be punished with a beating, the judge will make that person lie down and be beaten in front of him. The number of lashes should match the crime.
I argued with those people, put curses on them, hit some of them, and pulled out their hair. I forced them to make a promise to God, saying, “Do not let your daughters marry the sons of foreigners, and do not take the daughters of foreigners as wives for your sons or yourselves.
Paul said to Ananias, “God will hit you, too! You are like a wall that has been painted white. You sit there and judge me, using the law of Moses, but you are telling them to hit me, and that is against the law.”
If you are beaten for doing wrong, there is no reason to praise you for being patient in your punishment. But if you suffer for doing good, and you are patient, then God is pleased.
Christ carried our sins in his body on the cross so we would stop living for sin and start living for what is right. And you are healed because of his wounds.