For some people, that’s really valuable. You see this especially with people who’s prior independent experience didn’t work out very well. Maybe they grew up in an abusive home and want instructions on breaking the cycle and raising their family better. Maybe there was criminal behavior, substance abuse, relationship or career stagnation. For many people, a pre-packaged world view from Religion X can be a big step up from their prior experience, ESPECIALLY when it comes with a supportive community.
The problem, of course, is two fold.
First, life isn’t one-size-fits-all. Eventually the pre-packaged beliefs will be sub-optimal for your personal situation. The better religious communities are flexible enough to accommodate this. The uglier ones lock you down or cut you out.
Second, the pre-packaged beliefs usually assert their own universal and exclusive validity. Even if the one you pick happens to be correct about this, it encourages toxic behaviors that will isolate you from non-community members. And of course the claim is preposterous on its face; The interchangeability of religions undercuts their claims to universal truth.
So, to summarize: Religion is a reasonable place to get a default world view and community, especially if you’re existing beliefs/community aren’t serving you well. Long term they are suboptimal because they don’t adapt to your personal circumstances very well.