To go to a good university you literally have to be super focused in high-school and do all sorts of extracurricular activities and basically things that look good on a college application. No one cares if you were a caretaker for your grandma.
But then once you are in university you haven't even won yet. Now you have to study hard CS classes and do side-projects and apply to internships and practice LC just to get in and even then you aren't done. You need to be super focused at your internships as well to get a full-time offer and even then you aren't done.
Got a full-time offer? Well now the expectations are a lot greater and you are in competition with other super ambitious people that don't mind working during weekends. It's just a lifestyle that doesn't leave off much time for anything else. And it never gets easier you just have to start at maximum speed and keep accelerating. The technology changes very frequently and ageism kicks in really early as well. I'm not suprised at all that people quit tech careers. Life is simply put short.
Basically the path is like this:
1) Be super good in HS to go to a good school
2) Work super hard in college to get good grades
3) Study super hard part-time doing LC and side-projects to get good internships
4) Do super well on internships to get a full time offer
5) Keep doing well to get promoted
If you have intrinsic interest in CS that will get destroyed pretty quickly because you may be put on to some super boring project. There is a vast chasm between programming for fun and programming under a deadline for a jaded boss with a limited budget who's only concern is squeezing as much productivity out of their employees.
We made programming to be fun and now companies just implicitely expect you to code for fun during your free time. If you don't you simply won't be good enough to pass the interviews.