The thing that worked for me was getting so bored of being depressed that one day my mind went “Okay fine, you’re right, nothing matters. If nothing matters, then me feeling this way doesn’t matter either. I’ll just go do the things regardless of how I feel”
Been 20 years now. Works fine. The depression has been starved of attention, only comes back when I’m hungry.