Key... don’t take state money.
Ding ding ding.
However IIRC, it was worse in Massachusetts - the state would not license the Catholic adoption agency unless they placed children with homosexuals.
In the old days, church charities operated without taking state coin - time to go back to that.