I agree, and I think, for many people, and I'm basing this on my own experiences, so feel free to call bullshit on this, religion is more about comforting people from really, really horrible truths.
People can go through a lot. History is full of people suffering horrible fates and basically having their entire lives destroyed. Now imagine going to someone whose entire family has been murdered in a senseless war or someone who is dying of some incurable, painful disease that there is no explicit reason for these things happening beyond "well, you had land and that warlord wanted it" or "you were unfortunate enough to be born with a genetic predisposition towards this particular disease and medical science has not gotten to the point where it can fix it, assuming it ever can."
It's not hard to see why many people would choose to believe the hardships they face are part of some grand plan that will, eventually, lead to everyone everywhere being happy.
Of course, personally, any plan that involves rape, torture, disease, faminine, pestilence, arson, murder, and jaywalking, is not really a plan I feel comfortable being a part of.