It’s good for that person that they aren’t feeling the loneliness mentioned in the article, yes. The poster IS feeling that loneliness, though.
Was it necessary for that person to say that in response to someone who is saying that they are having those bad thoughts and feelings? Probably not. Are they a bad person? Probably not.
“I feel horribly lonely” “I don’t feel lonely. In fact, I loved the aspects of life that caused you to feel this way”
(The above might be how it comes off to some people.)
I mean, it’s good for everyone who doesn’t feel lonely, but that person feeling good still doesn’t really help people like the poster who do feel lonely.
I don’t think the commenter is wrong necessarily, but it should almost be expected to get less than happy responses from the OP, especially with the context.