Religion is a bullshit story - but it works and has worked for as long as people existed and needed ways to exert power over others.
Connecting people to the dead helps create societies and cultures. If dead people were just - dead - and nothing more, we might lose our connection to the past. Thus, religion completes the cycle. With end time predictions religion is able to strategically use this connection for the purpose of exerting even more control over people.