Only you would be able to make that decision. From me, I'm in my mid 30's now, and my life isn't great either, currently don't have employment, between jobs, and even took courses, but am dropping out because I learned the program that I'm studying in isn't really what I'd hope for. I still am dependent on my family for basic needs (food and shelter) and in exchange I help them with household chores and what not, but yeah ever since I've been an adult, throughout my 20's and even 30's, I've had an pessimistic and generally bleak outlook on life and life itself. I've held down jobs before, and my longest one was just over 3 years, while my shortest was less than 6 months. I also am single and don't have plans on getting a SO or even have children (am antinatalist myself).
As for AI, yes I believe that is certainly a big factor and while not all fields are impacted the same way, most fields are, and even in the last year or two, it's been more difficult to land/find jobs nowadays compared to before, especially with the current events going on in the US (I'm from the US just fyi).
So in the end, it's a big waiting game for me, until I can wait no more and things get bad enough to just push me over the edge. Meanwhile, it's a day by day coping and distraction until that also doesn't work anymore.