AITA for not giving this old man peace before he died

My brain has been on this for a month. I work in hospice and people confess all types of things on their death bed. The worst one I got was last month. It was a man who was alone. No one ever came to visit him. He kept saying he didn't want to die. I was talking to him and he said he didn't want to die because he didn't want to go to hell. I don't believe in any of that stuff anyway but I told him everything would be okay and he said he is sure he's going to hell. I asked why and he confessed to a history of being inappropriate with children. Including his grandchildren. I didn't know what to say. So I said "Well. Did you apologize?" Not that that would have made it better but I'm at my job and my job is to be there for these people whether I think they are a monster or not. He said he didn't and he messed up really bad because his grandson told on him and he convinced his daughter that he was crazy and making up lies so they put him impatient in a mental hospital. He said if he's going to hell for anything it's that. I didn't really have anymore words for him and he asked me if there's a chance he will make it into heaven and I said "I don't really believe in that so I couldn't tell you." Then he asked me if I was his grandfather could I forgive him. He looked at me like he was hoping I would say yes. Like he wanted a little peace. I could have offered him that so maybe he could have peace before he died but I said "Well. You weren't my grandfather. My opinion doesn't matter. I'm sorry but I can't be that person to relieve your guilt." He looked destroyed. Died two days later. I told a co-worker about it because it was heavy on me and she said that this was his last stage of life. The least I could have done was offer him peace. That's what our job is for. Now I kind of feel like a jerk. I love my job and I like being able to be there for people in their last days. It just didn't feel right to say I would forgive him which I wouldn't but also to answer for the victims. Idk. You guys tell me.