chicken and egg, are you in depression because of the problems you have ? Then solving them one by one will eventually end up removing depression (that was the case for me)
I feel like OP just used described how he fixed a problem that had him down.
Depression can occur without any real problems or issues. It's not something you can "just fix" by paying your bills.
Adverse life events can trigger depression episodes in some people, and when you’re in an episode, adverse circumstances can both feel worse and lengthen the time in the episode.
Finding a way to solve the problems or avoid them entirely is thus an important part of being as healthy as possible, but it is not in and of itself sufficient for maintaining or returning to health.