The God you are refering to is hardly always good, far from it. He's a terrible spiteful wrathful being that commands his chosen (Jews) to worship and fear him.
The good God mentioned in the Garden of Evil, the Serpent, gifted us the power of knowledge and free will. The God you claim you worship cursed us for it with the mark of original sin. He has no control of our lives, lost it back then, we have free agency.
As for the abuse and rape mentioned above, this God you adore commanded that a woman (or girl) who is victimized by this must marry her rapist, or she can be stoned to death, now being 'soiled' and unmarriagable.
Children who are abused and molested have a strong tendency to do the same to other children, especially when they grow up. Not all will, mind you, but practically all such abusers were also victims themselves. To claim this is part of a larger plan or some learning lesson is absurd and reprehensible, and defies any logic whatsoever.
Funny these Gods would create humans with this capacity, because the only other animals to engage in similar behavior are orangutans and dolphins. Also young male sea otters will even rape seal pups to death. This is part of a plan?
Skip the excuses, it would have been far simpler to create people without the ability and will to engage in this, the vilest of all violations.
To give this God credit for all that's good but not for all that's bad is missing your point. A perfect being is not just good, it is perfect in all aspects, and that would include what we consider to be evil as well.