I of course was talking about that aspect of religion where the psalmist says the heavens declare the glory of God.
Science can do a lot better than that.
The questioner is asking about another thing that religion can do, which is consoling people in bereavement and similar situations. On that I would say three things. First, I mainly agree with you. Science is not on the whole going to console you if you lose a loved one. The second thing I would say is that the fact that religion may console you doesn't of course make it true.