Well, I genuinely apologize for that. S/he probably thought they were doing good / helping you.
Then again, that's not something I would have ever personally done. I'll talk about what I believe if people are curious, but I'm not about telling people they're going to hell.
People can be dicks, regardless of any affiliation to any group or religion.
Then again, if someone is on their possible death bed, and you genuinely believe telling them a little speech might send them to paradise instead of eternal pain, it's pretty clear why someone would be compelled to act that way. That shouldn't be a surprising on a psychological level. In their minds, they're doing an act of kindness--giving you at least chance to receive what in their minds, is the ultimate gift. And if you're on your deathbed, you have one last chance for getting that gift--as opposed to people walking around day-to-day who can change their mind at any time. So it's more important than ever to at least try.
Again, to you, they're mislead. But that doesn't mean their intentions weren't good. If he/she tried to rob you while you're strapped to a bed, that'd be a worse crime, eh? You can always ignore stupid people. You can't unsteal the cash in your wallet.
Hell, (ha, a pun!), I'm religious, and I'm still given religious speeches by random people on occasion. I just tell them "no thanks" and they thank me for my time and walk away. It's not really a personal thing about me. It's more about them and what their speeches mean to them.