Following on from LB, lost pilot is not competent to diagnose that he (she?) is suffering from clinical depression.
My advice would be to get the CPL ticket and then reassess the situation. Maybe you need to lie on a beach for a while after finishing. You might find there are nooks and crannies in the world of aviation that suit you very well and where a licence is very useful even if you aren't flying regularly.