"Let’s not be wussy about this. When we see sin, then name it. But I think it limits me, if somebody believes that I am tied to a candidate or political party."
So said Bonnie A. Perry, an Episcopal Bishop, quoted in a NYT article that's mostly about a Lutheran pastor, Jonathan Barker, who resigned from Grace Lutheran (in Kenosha, Wisconsin) rather than give up on his plan to deliver a sermon about Alexandria Ocasio-Cortez, endorsing her as a Democratic Party candidate for President in the 2028 election.
The article is
"He Tried to Endorse From the Pulpit. He Wound Up Without a Church. The I.R.S. says churches can now support candidates during services, but many denominations still forbid it. A Wisconsin pastor learned the hard way."
So is this about religion or tax exemptions? Bishop Perry refers to "my tax-exempt status," but it's about the ability of all the donors to her church to claim a tax exemption.
It used to be clear that endorsing a political candidate would disqualify a church from its tax-exempt status, but there was a lawsuit challenging that and the Trump administration settled the lawsuit and said that churches
could endorse candidates "to their own congregations, in connection with a worship service."
That doesn't mean they should. They may, like Perry, wisely refrain from losing their clout, their fervor, their credibility. Who would go to church to be harangued about voting for the latest Democrat? And then on top of that, you have to worry that you might lose their tax deduction if your church strays beyond the limited concession made in settling that lawsuit.