Aside from that Catholic guilt and community aspects, people like to feel hope and purpose. Religious beliefs can offer both of those. I do like to point out that this effect will take place regardless of the truth of the belief system, so paint yourself a picture that brings "meaning" to your life however you want - as long as it's something you can actually believe ;-)