To use an analogy that I have used a number of times before, the responsibility of an ordinary soldier might be to try to stop the enemy advancing at all costs. However, the general, knowing the bigger picture (with God, the whole picture), may decide it is best to allow the enemy to succeed in certain situations. Thus what is the duty of an ordinary soldier may not be the duty of the general. Similarly, your and my duty (to try to stop someone raping a 9 year old girl) may not be what God ought to do.
Now, before anyone starts, I am not claiming that this demonstrates that God exists or thereby is morally perfect or whatever. I am, however, claiming that, him knowing the whole picture, his correct course of action may be different to what you and I should do.
To continue your analogy: if you were in a position to prevent a 9-year girl being raped I expect you would, as would all of us here I'm sure, and I'm also sure you'd agree that this would be the morally correct action for you to take if you could (and we are in TACTDJFF territory here), So, in these circumstances do you think your God, who you say knows the 'whole picture' so it must know about your potential to intervene, deliberately act to prevent you intervening so as to allow the girl to be raped in order to suit the 'whole picture'?
This doesn't sound much like an all-loving God unless it thinks that there is aaany good whatsoever to be had in the rape of a 9-year old girl - by the way my grand-daughter will be 9 in December so I'm interested to see how you'd justify your God allowing this if it were her.