There are non 501-c3 churches, I know this to be true, I am a member of one. I won't attend a 501-c3 church.
Churches have the right to free speech. If it ever went to the Supreme Court, it would be unconstitutional. There have been many opportunities for liberals to challenge but they really don’t want it to go to court.