If he had created a beat on his own, posted it on soundcloud/youtube and posted, say, on reddit, he would've likely gotten trolled or put down or compared to any number of amazing beatmakers and it would have added to his depression instead of helping him get over it.
I don't think we are equipped to deal with the fact that there is somebody younger than us better at anything we can think of than we could ever be, and those somebodies are also instantly accessible from anywhere at any time for comparison purposes.
In the old days, say, you could tell yourself "ok, the teacher/master craftsman/... that is teaching me is so much better than me because they have a lifetime of experience, when I will be their age I will have learned and will be just as good", but now you can find endless amounts of people younger than you already amazing at what you are trying to do, and you think to yourself what's the point when they are already there and you have just started.
Nowadays with most of the world connected you can find hundreds of "one in a million" people you can compare yourself to: and if you are depressed it is really really hard to want to get started at anything, because getting started at something means months or years of being objectively pretty bad at it, months where you can tell yourself "what's the point, youtubeuser999 is a kid and they're already better at this than I ever will be"
It is also hard because one of the ways to get better, is to compare yourself to people better than you and try to figure out what they are doing that you aren't, and incorporate that in your practice. If you are in a beginner art class with a teacher walking around and you are all around the same level, you can get a lot of benefit from looking at others and listening in.
But if, thanks to the internet, you have Michelangelo on your left, Leonardo on the right, Vermeer in front of you and Tintoretto behind, and you are just trying to learn to draw a face that doesn't look like Frankenstein, it is going to be extremely discouraging.