How did God learn/know what was good and what was evil?...trial and error?

God is not born, so your logic fails right there.

Besides, it is intricate in the nature of God that He is the ultimate law-giver. He determines what is good and what is evil, and gives us all a morality on the basis of which we can also make that distinction.
 
Back
Top