Scripture tells us that every good gift comes from God the Father who “does not change like shifting shadows” (Ja 1:17). I interpret this to mean that God is always good and that he’s always working for good. In all circumstances, Paul said, “God is working for the good” (Rom. 8:28). We live and move and have our being in God, an he’s always influencing things in the direction of love while trying to get people to seek and find him (Ac. 17:24-29). Yet, because people and angels havefree will, they can yield or resist God’s all-pervasive good influence. When good things happens, therefore, it’s often partly due to the fact that some free agents said “yes” to God’s good influence. But when evil happens, its always exclusively due to that fact that some free agents said “no” to God’s good influence.
So when evil things happen, its never appropriate to blame God. But when good things happen, its always appropriate to thank God as well as any others who were instrumental in bringing it about.