Thriving as a Broken Church

We live in a Genesis 3 world where the church is made up of sinners who are justified and being sanctified.  As we navigate through 1 Corinthians we are discovering how the church in Corinthian strove for unity and purity while being set apart from culture...we then look at us today in light of the truth revealed in God's Word.  How do we live set apart from the world, while being in the world and at the same time protecting the church's purpose?