Proper funerals (Christian ones at least, I cannot speak for other religions) have the Last Rights maricle built into them. This, I would say, is from the examples you mentioned or even a reading from the Bible (I am thinking of the one about walking through the valley of death, but I canot site it for some reason).