Marketing for Religion 101:
When good things happen in this world, put God's stamp on it. Give God the credit
When bad things happen in this world, put Satan's, or evil's stamp on it. Give Satan the blame.
This gets ya started!
Even when they blame Satan, it's ultimately the fault of some believer because they "gave place" to Satan by humoring him in some way or getting out from the "unbrella" of god's protection for the righteous.
And if god is all powerful why doesn't he just get rid of saten? So we would have a wonderful world and he would worthy of our adoration. As far as teaching us lessons with all the crap going on, that's a sadistic god.