Hi, welcome
I'm 65yo and I now recognise that the roller coaster of ups and downs with depression takes much endurance. Having said that I find as I age it is easier to accept it, those troughs that come along.
Here is a link that might help you in the future-
https://www.beyondblue.org.au/get-support/online-forums/depression/depression-and-the-timing-of-motivation
TonyWK