Yes, but partially also your existence on HN. Depression/anxiety + well read is almost always some shade of ADHD in my experience (of observing people who get diagnosed by doctors).
Giving up isn't a bad thing. I've given plenty of things up, usually after either realizing I was right or finding someone else had done it.