Woe to you, when all people speak well of you, for so their fathers did to the false prophets. Luke 6:26
Matthew Henry helps apply.
It is a sign that you were not faithful to your trust, and to the souls of men, if you preached so as that nobody would be disgusted; for your business is to tell people of their faults, and, if you do…you will get that ill will which never speaks well. The false prophets, the ones who flattered your fathers in their wicked ways, the ones who prophesied smooth things to them (Jeremiah 6:14; 8:11; Ezekiel 13:10), were caressed and spoken well of; but, if you in like manner cried up, you will be justly suspected to deal deceitfully as they did.
We should desire to have the praise of those who are wise and good, and we should not be indifferent to what people say of us; but, as we should despise the disapprovals, so we should also despise the praises, of the fools in Israel. (Taken from Matthew Henry’s commentary on the whole Bible: complete and unabridged in one volume, p. 1843).
Despise the disapproval and praises of those who despise God’s Word. When sharing God’s Word, sometimes (note: not all the time) being booed is a sign of faithfulness and being applauded is a sign of sin.