If the guilty person deserves to be beaten, the judge shall make them lie down and have them flogged in his presence with the number of lashes the crime deserves,
I rebuked them and called curses down on them. I beat some of the men and pulled out their hair. I made them take an oath in God’s name and said: “You are not to give your daughters in marriage to their sons, nor are you to take their daughters in marriage for your sons or for yourselves.
Then Paul said to him, “God will strike you, you whitewashed wall! You sit there to judge me according to the law, yet you yourself violate the law by commanding that I be struck!”
His speech persuaded them. They called the apostles in and had them flogged. Then they ordered them not to speak in the name of Jesus, and let them go.
But how is it to your credit if you receive a beating for doing wrong and endure it? But if you suffer for doing good and you endure it, this is commendable before God.