Have you ever done something with the best of intentions and had it turn out badly and been criticized for it? Have you ever performed acts of true virtue and had them criticized by those who insisted on seeing them in a negative way? I can sympathize for this happened to me as well.
This is a test of your character. I cautioned my followers not to be like those who did good works to be seen of men, for they already had their reward. I told them to do their good works in secret that their Father in heaven might reward them openly. The same principle still applies to you. No man can serve two masters. Concern about what people think will hinder you from serving me. Settle it in your heart to obey me, even if you are alone, or misunderstood, or criticized, and I will reward you openly.