I’ve decided that for some people god = random chance.
They can’t accept that no matter how well they follow the rules bad things can happen to them for no apparent reason.
Therefore, there must be a god and he must have a plan.