Right. It is a sin problem and God is causing their sin to be made manifest so you can know by their fruit that they are FALSE!
Mt 7:15 Beware of false prophets, which come to you in sheep's clothing, but inwardly they are ravening wolves. 16 Ye shall know them by their fruits. Do men gather grapes of thorns, or figs of thistles?
Gal. 5:19 and ff describes the fruit and Rev 21:8 says they are bound for the lake of fire. They are being revealed by the Lord who sees the thoughts and intents of every heart so you can clean house of false leaders or get yourself out of that house (church). The options are to be clean, righteous, holy *or* to be filthy still. God is not a handholder who has lowered His standards and Grace is not an excuse for continuing in sin. God forbid! He requires purity in those who represent Him.
2Co 6:17 Wherefore come out from among them, and be ye separate, saith the Lord, and touch not the unclean thing; and I will receive you, :18 And will be a Father unto you, and ye shall be my sons and daughters, saith the Lord Almighty.