When, after years of separation, Joseph of the Old Testament was reunited with his brothers who sold him into slavery, they feared he would seek revenge, even though he had flourished in Egypt. He allayed their fears saying, You meant it for evil, but God meant it for good.
If churches lose tax-exempt status because of non-compliance with government edicts mandating they perform same-sex marriages, then whatever the governments intentions, the end result will be good for the church. Or, better than good.
Can you imagine all those preachers completely free to speak on issues and candidates after the tax exemptions are revoked? And urging the members of the congregation to get out and vote?