34 But one of the council members stood up, a Pharisee by the name of Gamaliel, a teacher of God's Law who was honored by everyone. He ordered the men taken out of the room for a short time, 35 then said, "Fellow Israelites, be careful what you do to these men. 36 Not long ago Theudas made something of a splash, claiming to be somebody, and got about four hundred men to join him. He was killed, his followers dispersed, and nothing came of it. 37 A little later, at the time of the census, Judas the Galilean appeared and acquired a following. He also fizzled out and the people following him were scattered to the four winds. 38 "So I am telling you: Hands off these men! Let them alone. If this program or this work is merely human, it will fall apart, 39 but if it is of God, there is nothing you can do about it - and you better not be found fighting against God!" 40 That convinced them. They called the apostles back in. After giving them a thorough whipping, they warned them not to speak in Jesus' name and sent them off.
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.