To quote the old Cranberries song out of context, it's "in your heeaaad, in your heeeeeeeaaaaad". Add a dash of feeling powerless, some focus on the issue, belief in that there's a reason for everything because we can't face the facts of how random life truly is, and a heaping helping of cognitive bias, and voila!, your prayers have been answered. Remember, your prayers may not be answered in the way you think they will be, so keep looking real hard until you convince yourself that they have been somehow.
Funny, as a JW I did all the "right" things and was never blessed. I started doing healthier things, got better results, and credited god. Now I no longer believe in god and life is still good, because it was doing healthier things that made life better, not a sky fairy.