Not to mention he created a tree with the knowledge of good and evil (though, its name varies a fair bit, methinks), and created humans, initially, without that knowledge, so they literally had no sense of conscience, let alone morality.
Yahweh was a petulant child who got pissy when his toys wouldn't bend to his arbitrary, meaningless rules. If you're human, you're goin to hell. Whelp, that's if you can drag our asses there first, big guy. We can harness the power of the sun, Yahweh got beaten by a Bronze Age tribesman.