My father died last Wednesday

I was hating him and didn't talk to him for almost a year, but last Monday he I talked to him we share little laughs, I didn't truly forgive him though at the time, but it was nice talking and didn't end with an argument as usual, when I knew that he died I felt awful I didn't imagine that he will die, I feel bad 😔 and sad and angry with myself,Even-though I know that he was not a good man but I always thought that I will have a chance to forgive him and forget everything bad happened between us 😢😥