34 But a Pharisee in the council named Gamaliel, a teacher of the law, respected by all the people, stood up and ordered the men to be put outside for a short time. 35 Then he said to them, "Fellow Israelites, consider carefully what you propose to do to these men. 36 For some time ago Theudas rose up, claiming to be somebody, and a number of men, about four hundred, joined him; but he was killed, and all who followed him were dispersed and disappeared. 37 After him Judas the Galilean rose up at the time of the census and got people to follow him; he also perished, and all who followed him were scattered. 38 So in the present case, I tell you, keep away from these men and let them alone; because if this plan or this undertaking is of human origin, it will fail; 39 but if it is of God, you will not be able to overthrow them-in that case you may even be found fighting against God!" They were convinced by him, 40 and when they had called in the apostles, they had them flogged. Then they ordered them not to speak in the name of Jesus, and let them go.
Matthew Henry's Commentary on Acts 5:34-40
Commentary on Acts 5:34-42
(Read Acts 5:34-42)
The Lord still has all hearts in his hands, and sometimes directs the prudence of the worldly wise, so as to restrain the persecutors. Common sense tells us to be cautious, while experience and observation show that the success of frauds in matters of religion has been very short. Reproach for Christ is true preferment, as it makes us conformable to his pattern, and serviceable to his interest. They rejoiced in it. If we suffer ill for doing well, provided we suffer it well, and as we should, we ought to rejoice in that grace which enabled us so to do. The apostles did not preach themselves, but Christ. This was the preaching that most offended the priests. But it ought to be the constant business of gospel ministers to preach Christ: Christ, and him crucified; Christ, and him glorified; nothing beside this, but what has reference to it. And whatever is our station or rank in life, we should seek to make Him known, and to glorify his name.