Napoleon said God is on the side with the most artillery.
Napoleon also jailed the Pope, and when he was warned that this was not wise, quipped: What will God do about it? Make my soldiers drop their weapons and flee? A few years later, they did that when they fled from Moscow...