Sorry but there’s no way this isn’t a violation of the separation of church and state.
cnbc.com
IRS says churches can endorse political candidates without losing tax-exempt status
Two churches and a religious group sued the IRS in 2024, saying their First Amendment rights were violated by the ban on endorsing candidates in elections.