I never understood this episode's ending.
>>94037892
If you're stuck in a spiral of depression and self loathing, it's probably your own fault and you need to take a step back and realize the world is more wonderful than you could possibly imagine, so there's always a solution or a bright side.
She got her happy ending, what's not to understand?
Gumball wanted to give her a happy ending
She was depressed and wanted to isolate herself. Gumball is a narcissist that believe's he can make everything better.
The moral is that because it's cartoon, Gumball is actually right about that. It's not so much an actual lesson as it's just a closer look at Gumball's psyche and how The Void functions.