From a psychological standpoint, is religion just a cope?

No.12102567 ViewReplyOriginalReport
From a psychological standpoint, is religion just a cope for a mind unwilling/incapable to accept death and intrinsic randomness in the universe? Or does it serve an ulterior evolutionary purpose?