Yeah my mindset was "Everything that happens is my fault" when riding - obviously false, but it was a good way to approach defensive riding.
That car that changed lanes into me? My fault for being in its blind spot and assuming they'd actually check it. So make sure to never linger in blind spots.
The car that did a u-turn in front of me that I nearly hit - my fault for not interpreting the car's body language. Make sure to note the angle of the front wheels of cars pulled to the side of the road in my scans in future.
That time I low sided because I was thinking about work not my ride and then hit a corner slightly too fast right as my front wheel hit a pile of small gravel from a road resurfacing - that was entirely my fault for not focusing on the ride.