King James Bible (Cambridge Ed.)
Thou shalt not bow down thyself to them, nor serve them: for I the LORD thy God am a jealous God, visiting the iniquity of the fathers upon the children unto the third and fourth generation of them that hate me(...)
By "bad", I mean according to our perception. Objectively, God is good, but it takes courage to acknowledge our discomfort in his plan. I'm not even necessarily talking about moral goodness.
God is essentially a being that cannot be understood, as @KDude mentioned. Yes I'm referring to Judeo-Christian God. Ugh I don't even want to participate in this convo.