Namachivaayam.
Any good things happen, immediately we give the credit to God. We give credit to our karmaphala, the moment we face bad things.
Good things are not the work of God and bad things are not the result of karmaphala.
God is positive and it can help you to become positive and the karmaphala is negative and it will make you to think negatively.