I have had a similar experience. There is a weird notion in our culture that introversion vs extroversion is a choice between "creative vs outgoing", with the unstated implication being it's really "creative vs not creative". I spent way too long not taking care of myself because I thought I was an introvert. No, I was depressed and I needed help. But some people seem to wear their introversion like some kind of badge of honor. And then, under some perverse guise of being supportive, we don't call people out on it and tell them they are wrong.
It never occurred to me my feelings were depression until my sister revealed her struggle with it as an attempt to get me to go to therapy. Could have saved many years if someone had just told me, "no, this is not a healthy lifestyle, staying in and reading books and playing games, to the exclusion of making any new relationships".