You mean one of the reasons why religions were invented.
It's the oldest mind control/population control technique. "Follow this way of life and you will get to live forever and you will see your dead relatives" which is basically tantalizing to our emotions and natural animal instinct to want to survive as long as possible. Religion is the most illogical thing ever, the only reason it's still around is because it taps into people's emotions and lures them in, that and indoctrination. Yeah every kid wants their dead parent to be waiting for them in heaven with sky pixies and whatnot (I lost my dad when I was 13), but I think at some point people need to grow up and realise how ridiculous that really is.