Haven’t you known or at least talked to people who don’t go to church because they feel that they need to change their lifestyle first? They want to quit smoking or cursing or some other bad habit. They have the notion that all who go to church are perfect and don’t make mistakes or even sin. This thinking is WRONG, WRONG, WRONG.
Churches are hospitals for us sinners. It is where we go to worship God and be closer to Him. We come with all our baggage hanging out and pray that God will fix us. He accepts us completely the way we are. He knows that we are not perfect but that we are trying.