It depends on a lot of factors, time of day, route etc. It’s not necessarily the case that quieter roads are worse. There’s a big NSL road I go along daily for a couple of miles on my way to work, never had a close pass except going into roundabouts as it’s wide enough to pass comfortably even with a bus or truck coming the other way.
There are a couple of narrow sections where I’ve had people cause oncoming traffic to leave big long skid marks because they can’t possibly wait until they’re around a blind corner to overtake. I took one of these around 3pm instead of my usual 7-8am/6-7pm and despite similar levels of traffic, every single car was absolutely desperate to get past, one even got up next to me around a blind corner going down hill (NSL, twisty, I was doing 30+ which is often faster than the cars go round the corners as it’s only a short stretch before a T junction) before giving in to common sense/oncoming traffic. A couple had already squeezed through in potentially dodgy spots. Usually that only happens once a week or so.
There will always be a couple of idiots on any road, of course. But riding a bit further out etc. does help a bit.