No, I don't give up when the going gets tough. That's not why I dropped out.
I dropped out because it simply was not feasible to go any farther: I could not juggle full-time undergraduate pure math at Berkeley while working multiple low wage jobs in the SF Bay Area plus all the other responsibilities and commitments I had accumulated at 27, along with the stress of being able to afford my next meal, let alone rent.
I failed math thru high school. Barely graduated. Worked in grocery stores thru my 20s. On a whim I bought myself a trig book and self taught to calculus before deciding to go back.
After dropping out I taught myself to code. Night after night I learned SQL, built shit in Python and node and tinkered with Heroku and AWS and Docker while trying to fill gaps in my CS knowledge by reading SICP and the algorithm design manual.
The job hunt process was pretty brutal and lasted about a year and a half. Rejection after rejection after rejection. Take home projects to work on and technical interviews to study for after work when I was exhausted from super demanding physical jobs that time and time again wouldn't pan out
Finally I got hired into a remote position at a great company, and left the bay for a place where life is slower, cheaper, and less crazy making. Now I'm going back to school on a part time basis at a local university.
There are so many stages between where I was a few years ago and where I am now where I could have given up, and where I think a lot of folks do. You don't really read those stories in manic Medium articles about learn to code success stories, how one guy (with a trust fund and a credit card and a network of ivy league grad friends) learned to code and got offers from every FAANG. I don't blame the ones who give up.
And I think if you have access to financial resources, and have friends who have them too, it's also much more straightforward, or at least less frustrating and painful, to finish school, and get a job that will pay you fairly.
But otherwise it's a tough road to walk, one that's physically and emotionally exhausting, and I suspect the level of commitment involved to walk it isn't too different from that needed to graduate with a degree. I wouldn't know tho -- that's not me (yet)