Whatever good happens in my life is because of God and whatever bad happens is because of me” is a nice philosophy but it is actually a way to boost your own ego. If God cannot do anything wrong then your idea of an all-loving supreme being is strengthened. If God only does good things then why did he create flawed human beings? If a human being cannot take credit for the good things then how can he/she be blamed for bad things? How does the law of karma fit into this context?