This faith in God usually includes the belief that God loves us and wants us to succeed. If our faith rests upon the assumption that we are favored by God and He will take care of us and protect us if we do His will, we are on shaky ground when things go wrong, which as our pessimistic friends will tell us, they surely will. Perhaps a more solid position would be an openness to whatever comes our way with a sense of equanimity. When we assume a position of non-attachment, we can observe the world as it is, without a filter of optimism or pessimism. When we meet with fortune or misfortune, we can accept it, not as proof that the world or God is for us or against us, but as an expression of the way things are.
Any event is the result of the causes and conditions that led up to it.
Some causes and conditions may be within our control. Many are not. Sometimes we win. Sometimes we lose. But if we can accept the premise that there is no winning and losing, that life is just as it is, we can stop worrying about losing and quit keeping score.