The phrase aplies to their invisible friend too.
In all the history I have read, God was always on the side of the winners, whoever they happened to be.
My objection as usual is not to the substance of the phrase, but to the way it spoils the blanc verse of the original pledge. The same reason I abhor "new and improved Bibles" that are easier to understand than the King James. If there is a fair and decent God, everyone who has ever replaced a King James Bible with a modern one will be doomed to hell, and everyone involved with bastardizing the Pledge will join them.
So9