The legitimacy of one's tribal god was always defined by the tribal might of the nation.

You'll notice how Yahweh was defeated early in the Bible and then came back to kick ass.