3 So his brothers said to him, Go away from here into Judaea so that your disciples may see the works which you do. 4 Because no man does things secretly if he has a desire that men may have knowledge of him. If you do these things, let yourself be seen by all men. 5 For even his brothers had no belief in him.
Matthew Henry's Commentary on John 7:3-5
Commentary on John 7:1-13
(Read John 7:1-13)
The brethren or kinsmen of Jesus were disgusted, when they found there was no prospect of worldly advantages from him. Ungodly men sometimes undertake to counsel those employed in the work of God; but they only advise what appears likely to promote present advantages. The people differed about his doctrine and miracles, while those who favoured him, dared not openly to avow their sentiments. Those who count the preachers of the gospel to be deceivers, speak out, while many who favour them, fear to get reproach by avowing regard for them.