‘One of the reasons not to be intimidated is also from 1 Peter: “Keep your conduct among the Gentiles honorable, so that when they speak against you as evil doers . . . ” (1 Peter 2:12). So there it is. He knows it is coming, right? He knows it is coming. Even when you speak or act honorably, they are going to speak against you as evildoers — the very opposite of what you are. And so he says this: “Keep your conduct among the Gentiles honorable, so that when they speak against you as evildoers, they may see your good deeds and glorify God on the day of visitation” (1 Peter 2:12). That means that what starts with slander ends in worship. Don’t assume that the criticism of those who are hearing what you say or seeing what you do and criticizing you as hateful or whatever they might say, don’t assume that is their last word, because Peter says it may start with that kind of slander, but it may also end in worship.’
Source: John Piper, “How Often Should We Voice Our Views on Homosexuality Online?” (desiringgod).