Can we taboo the words 'omniscient' and 'omnipotent'? As in, use other words that are more descriptive of what we mean by it, because there's a difference between 'knows everything there is to know' and 'knows anything and everything, regardless of whether it's true or possible'. Being omniscient doesn't necessarily mean you know how to do everything and everything. Similarly, omnipotent may mean 'anything that's possible'.
Also, Lemon, you bring up a very good point. If God was to make something perfect, then he would have to be a utility maximizer or something of that sort. Which would be maximizing a numerical score. So maybe the universe is perfect...ly mathematical?
Speaking of which, while we aren't in the best possible world, we're certainly not in the worst. If there's more good then bad, and god is trying to maximize total god, maybe he's created a perfect multiverse, with a nigh-infinite series of worlds, all of which are slightly more good than bad.
And of course, there's the idea that a supernatural entity that powerful seriously just would not see us as having very much moral worth. After all, how much moral worth do you ascribe to an ant? Or a bacteria? I'm not just talking about YHWH, here, people. I think it'd be interesting if we talked about other gods/spiritual systems as well.
Like Zeus.
Honestly surrender against a being that powerful (without technology thousands of times more advanced), surrender is the only viable option. Hell, it might be the only option at all given that it could forceably change everyone's minds to make them surrender.
A viable option would be killing every human on Earth. Can't have any worship if there's nobody alive to do it. And if the Abrahamic religions are an accurate depiction, that would really bother aforementioned supernatural entity.
Ah, the old 'commit suicide to depreciate neighborhood property values' method.