It may be true that religion makes people happy because it gives you an alternative to death, however, it is an illusion, you will eventually die and there will be no heaven, no after life, no purpose, no meaning only emptiness, that is life, no that is special, we are really just something going and no purpose. Knowing this fact would be of no use to the happiness of anybody but apart from feeling it is still the truth