I work 17 miles away.I drive It can take 24 min to an hour depending on the time of day as I do shifts. I’d I went by public transport it would take 2& 1/2 hours to get there.
Same here with me and OH. He's a railway enthusiast and would have loved to commute by train. He was never been able to do so, despite him living literally a mile away from a train station before we married. He worked just 20 miles away in the next town, but there were no direct trains, despite a direct railway line. He would have had to get a train at station A to go south to station B to change to a train going north to station C to change to a train going south to station D. That would take over 2 hours on the trains (actually less than 15 minutes ON the train, the rest of the time waiting at stations for connections) plus walking time of another 1/4 hour at each end, so 2.5 hours in total. Or he could drive from home to his office in town D in 25 minutes door to door. Guess what he did.
Same with me. I had a job about an hours' drive away. It was physically impossible to get there before the 8.30 starting time by train as the train took 2.5 hours but the first didn't leave until after 7am, so around 9.30 was the earliest I could be there by train. Same coming home, the only trains were 4pm (too early) and 7pm (too late), the latter would have got me home about 9.30. By car, I could leave home at 7.30 and be back home by 6pm.
Neither of these journeys were tiny towns or villages. They were all to/from relatively large towns, all with their own train stations, but just with very convoluted journeys or sparse timetables.
By direct train, I could get from home to London Euston in 2.5 hours (? 250 miles) but from home to a town 60 miles away took the same time (and cost more!) on 3 different trains despite there being a direct track.
That's the reality of public transport outside the big cities.