What numbs the emotional pain from loneliness?

Becoming a master at something.

It can also be a step towards solving loneliness.

But you have to forget about that to achieve mastery.