To live godly is to be a witness of Christ Jesus at every opportunity.
It is to speak the Truth in all situations so that people can be made free.
Persecution comes not from living a good, moral life. It comes as a result of the preached Truth being rejected by the unbeliever.