Here’s a tip. I’m sure I’ve mentioned this before, but it bears repeating: If you’re writing fantasy, or really any type of plotted fiction, do not — repeat, do not — include a god or gods in your story. Gods and plot do not mix.
Why, you may ask. Isn’t a god a fantasy creature par excellence? Well, yes. The problem is, gods are too darn powerful. The mainspring of plot is that the lead character (who we’ll assume is human, or something vaguely humanish) has a serious problem. The actions that the lead character takes to solve the problem form the plot. But a god can solve your hero’s problem with the wave of his, her, or its little finger. No more problem! No more plot! And thus, no more novel. Your novel lies on the floor, twitching faintly. It’s pushin’ up daisies. It’s joined the Choir Invisible. It is no more.
Real theologians and real worshipers have this same difficulty, of course. Why does “God” allow suffering, when he/she/it could prevent it? One popular answer is that suffering is instructive. Another popular answer is that because we have free will (supposedly), we’re creating our own suffering. I could go into detail about the weaknesses in those really bizarre and pathetic theories, but this is not the time or place for it. If you want to put both a god and a theological justification of that sort into your book, you’re welcome to do so — but at that point you’ll be writing a religious tract, not a plotted novel, and it’s likely to be boring. It will bore me, for sure.
Anyway, the supposedly real “God” in our real world never does anything at all. Actions: zero. If you put a god into your novel as a source of some action or other, the god is just another character, however vast or dimly visible. A character who is powerful enough to solve your Big Plot Problem, but who lets your lead character suffer instead, is basically a Bad Guy. That’s an evil character. For a human to triumph over an evil god — that’s a viable plot, I’m sure, but given a god’s enormous powers, it’s not a plot whose details I would be keen to try to work out.
You could also write about the conflict between good gods and evil gods; that would certainly be a viable plot, but it wouldn’t be about human beings. The humans in the story would just be pawns. Most human readers want the human characters to be the movers and shakers, so that may not work too well as a plot. You’re welcome to try it, of course.
Fantasy literature is generally about a world that inherently has some sort of moral order. (Our real world doesn’t.) The elements of fantasy, be they unicorns or vampires, tend to be either good or evil, unless you’re Terry Pratchett, of course, in which case they’re just good fun. But it’s best, I think, to let the moral order be inanimate, implied, or exhibited by ordinary, limited beings. A god will only get you in deep shit.