I'm reading "Der Vorleser" by Bernhard Schlink and encountered this sentence:
Manchmal hält die Erinnerung dem Glück schon dann die Treue nicht, wenn das Ende schmerzlich war.
I don't understand what halten + dem Glück
means, so I thought perhaps it was a noun-phrase-thing die Erinnerung dem Glück
but I've only found mention of die Erinnerung an etwas
, so now I'm stuck.
Could someone help me break down the meaning of the sentence?