Cannabis is not a good idea - nor is it indicated - for depression. Depression often has to do with an imbalance of neurotransmitters and other brain chemicals. Cannabis furthers affects those levels.
Feeling relief from depression and wanting to feel euphoric are two different things. CBT, or talk therapy - sometimes combined with meds - is the gold standard for treatment. Substance use is the last possible answer.