Just because gods are more powerful than humans in many ways, (but not all), do not assume this greater power automatically equates to a higher morality, because I assure you it does not. In fact, by human standards, the morality of most gods is not so much higher as it is highly suspect. As a group, we are not above things such as hate, jealousy, pettiness and, in some cases, even things like abuse, misogyny, and racism. We do not always have a plan in mind for your betterment. We do not always care about your betterment. Depending on the god and the person, we could care much more about your discomfort and destruction than anything else, if we care anything about you at all, which is a big “if.”
Let me give you an example:
In the New Testament, Paul talks about how he has come to glory in his tribulations because he knows God is behind it, making him a better man by it, and if Satan is all over him like that, it must mean he is doing something right. (If you’ll excuse the paraphrasing). While it is possible Paul was right, it is also possible his god was either getting off on the tribulations, enjoying monkeying around with Paul’s life because he knew he could get away with it and not lose the kid’s worship, or he had gotten bored with the whole deal, turned his back and just let bad shit happen because he no longer cared. Probably that last thing.
No god is above character flaws, including (and especially) me. No god is above moral gaffs, including (and especially) me. No god is pure good perfected, and any god who tells you he is, is a bigger liar than I am.