Passage
having good behavior among the nations, so in that of which they speak against you as evildoers, they may by your good works, which they see, glorify God in the day of visitation.
having good behavior among the nations, so in that of which they speak against you as evildoers, they may by your good works, which they see, glorify God in the day of visitation.
1 Peter 2:10 who in time past were no people, but now are God’s people, who had not obtained mercy, but now have obtained mercy.
1 Peter 2:11 Beloved, I beg you as foreigners and pilgrims, to abstain from fleshly lusts, which war against the soul;
1 Peter 2:12 having good behavior among the nations, so in that of which they speak against you as evildoers, they may by your good works, which they see, glorify God in the day of visitation.
1 Peter 2:13 Therefore subject yourselves to every ordinance of man for the Lord’s sake: whether to the king, as supreme;
1 Peter 2:14 or to governors, as sent by him for vengeance on evildoers and for praise to those who do well.
The verse centers on "good works", "having", "behavior", "nations", "speak", "against", and "evildoers". It is saying that the verse draws attention to "good works" and "having", so its meaning should be read from those terms before moving to application.
The nearby context moves from verse 11's "Beloved I beg you as foreigners and..." into verse 13's "Therefore subject yourselves to every ordinance of...", so "good works" and "having" belong inside that flow. In 1 Peter context, the local focus is hope in suffering, holy conduct, submission, and grace.
A plain takeaway is to answer the verse's own emphasis on "good works" and "having" with trust shaped by these words, not by a vague optimism outside the passage.