I don’t see the connection.
Freemasons worship God One can’t even join without professing belief in God.
There is no connection, but that won’t stop the incessant clamor of those ignorant of freemasonry to criticize and demonize it.
Those who hate Freemasonry can’t stand the fact that we refrain from judging and condemning the beliefs of other people if they happen to differ from our own. We prefer to focus on what unites us rather than our differences, and to turn harmony and cooperation into benefit for others.
It has been this way for millennia. And we are still here, doing good.
Any god.
Except the Lord, Jesus Christ.
He’s not allowed.