If you did that traffic couldn't move if there were pedestrians. Every single urban area in the UK would grind to a halt.
Your judgement as a driver is flawed if you recognise a hazard is present but don't reduce the risk from your side.
Or even more flawed if you don't recognise the hazard so you get surprised and react badly if it happens.
I swear this is in driving tests.