I'm so sorry for your loss. As I also have some 40-year friendships, I can imagine the pain you must be feeling. Glad Em knows how to assuage it.
My BFF of 40+ years lost her mom this week. During our teens, we spent so.much time in each others houses that I called all.my friends aunts "aunt" and occasionally her mother was "mom". My friend and I got married in the same year and were each others maids of honor (I suppose I was her matron, as I was married first!) and tonight at the wake, her wonderful husband embraced me and said that he should be offering me condolences as I'd known the great lady for longer than he had. What a great guy!
Funeral and burial are.tomorrow. I suppose you've already completed that part.for your friend. I have always taken great comfort in the saying (and I'm paraphrasing here) that no one is truly gone as long as there are those who remember them. I know you will remember your friend well. ❤