Epictetus
Enchiridion 35
When you do a thing which you have made up your mind ought to be done, never try not to be seen doing it, even though most people are likely to think unfavourably about it. If, however, what you are doing is not right, avoid the deed itself altogether; but if it is right, why fear those who are going to rebuke you wrongly?
Epictetus, Enchiridion 35, translated by W. A. Oldfather
When you have decided that a thing ought to be done and are doing it, never avoid being seen doing it, though the many shall form an unfavourable opinion about it. For if it is not right to do it, avoid doing the thing; but if it is right, why are you afraid of those who shall find fault wrongly?
Epictetus, Enchiridion 35, translated by George Long
When you do a thing because you have determined that it ought to be done, never avoid being seen doing it, even if the opinion of the multitude is going to condemn you. For if your action is wrong, then avoid doing it altogether, but if it is right, why do you fear those who will rebuke you wrongly?
Epictetus, Enchiridion 35, translated by P. E. Matheson