Would you say that to the alcoholic, that drinks to escape his problems? Would you say that to someone suffering any addiction to "help" ease the pain or give them comfort? Or would you think it better to help them see the real problem?
But drinking is not ultimately profitable. Overcoming the need to pray may very well not get a believer anywhere further than where they would have been: they're dying either way. And dying with the knowledge that it is 'the end' may be much more traumatic than dying otherwise.
Incidentally, I'm kind of half playing devil's advocate here...