Some amount of that is inevitable, but there is another level of defensive driving where you anticipate poor behavior and arrange that it won't cause an accident.
Have a look at a few dash cam accident videos [1]. There are many maladaptive patterns of behavior, but a frequent one that the average good driver can improve on is limiting speed on two occasions: when approaching a blind spot, and when passing stopped or slow traffic.
That second one gets lots of otherwise good drivers. They seem to think that by limiting their speed vs slow/stopped traffic they'd be encouraging people to dart in front of them. Which is somewhat true. But with limited speed, that's an avoidable or less injurious accident. By gunning it past stopped traffic, you make the accident unavoidable and more serious.
Adding on to this, a common reaction I see to online videos of driving incidents is "why did this person just stop? of course you are going to crash into them. They shouldn't have stopped" and many people agreeing with it. It seems they are blind to the fact that if the following driver was using a safe following distance and speed, they should easily be able to stop, making the incident the fault of the driver following too close, not the one stopping.
I learned next-level defensive driving by bicycle commuting to work 5.5 miles each way on busy roads in rush hour traffic. On a bicycle you're invisible, and if you expect any less, you're going to get hurt. As it was, I had some very very close calls- at least one of them had the potential to be fatal. Ironically, the only time I ever crashed was my own fault.
But now even when in a car, I retain that "I'm invisible" mentality, which makes me much more aware of what other drivers are doing, and much more skeptical of their ability to make good decisions. This has saved me several times.
The landing page video's first incident is a car coming from behind and from the right, cutting off the filming car. The filming car didn't react at all when instant (but measured) braking would've been safer to start building a distance buffer.
One thing HPDE taught me is that most people under brake in dangerous situations because they simply don't know the limit of their vehicle nor the sensitivity range of the brake pedal.
The hard braking heuristic makes sense when estimating risk of road segments, but not as a proxy for driver competence.
One thing I noticed among dash cam videos is very often the person recording and publishing the video will keep on driving closely behind another car that is clearly driving erratically. Maybe he will honk, but he won't brake or leave any safety distance, and seconds later the idiot's car, which has been behaving weirdly in front of him the whole time, causes him to crash.
I realize this may come off as victim blaming, but I feel you should have an obligation to not endanger yourself even if by the laws of the road you are technically in the right. I would rather get cut off by and idiot and be at my destination thirty seconds later than having to deal with car repairs even when it is legally speaking not my fault.
Without wanting to paint with too broad a brush, I would say in my experience driving in 10x countries, U.S. drivers, being most habituated to spending their lives in cars, drive in the most distracted, least careful way. Especially in places where the typology is the U.S. default of low-density, car-oriented sprawl. Accordingly there are an appaling number of deaths and injuries on the road: 1 in 43,750 people dies each year in the U.K. in automobile accidents vs. 1 in 8,500 in the U.S.A.
Inb4 deaths per mile driven, I'd argue higher VMT in the U.S.A. only proves the point - too many cars being driven too much because of silly land use. High VMT is acutally a symptom of a dangerous mobility system as much as a cause.