OP don't give up. You will get there eventually and when you do it will be so worth it.
I had over a years lessons at 17/18. Failed 3 tests and gave up, decided I wasn't cut out to be a driver.
I spent all my 20s and 30s not driving. I have always been super independent, lived near excellent public transport. I made do, even once I had 2 children.
3 years ago not long after my bf and I got together, he challenged me to go for my theory. I did and passed (by one mark, but a pass is a pass!). 2 years ago I bought a car. Then after a lot of procrastinating, I started lessons. I did one 2 hour lesson a week plus a lot of practising in my own car.
Sat a test last May. The test went brilliantly. I had the nicest examiner, I was about 70% through the test, allowed myself to think I might pass...then came to a junction and pulled slightly too far forward on right turn (tbh it was arguable, examiner stopped me but I don't think others would have - my foot was just touching the brake anyway so I would have stopped seconds later). I think I had 2 minors but that was a major. So failed.
Next test I messed up at a tricky mini roundabout. So another fail.
Test after that, same examiner. Was in tears in the morning, didnt want to fail again. Boiling hot day, examiner made me switch off air con as she was too cold. Spent whole test dripping in sweat! Got to the end and when she said I'd passed, I cried. Next week it's a year since I passed :)
Possibly one of the best days of my life. I wish wish wish I'd passed my test sooner and not spent 25 years making life really hard for myself. DC1 passed last year too, a few months after me, and DC2 will be having lessons as soon as he's 17.