You can slow down and accomplish the same thing without speeding and endangering other road users.
According to WHO ...... CURRENTLY NOT people that teach safe driving.
I have seen too many times where a bad driver caused an accident, collecting innocent drivers and passengers behind them, usually it is only the innocent people that get hurt.
If a bad driver is in front of you, you are in danger, if they cause an accident, then they could collect many other drivers, including yourself up in that accident. Your safest place is to stop (but you can't do that because you would never be able to get anywhere trying to avoid the dangerous drivers. The next best is to get infront of the bad driver, preferably with more then one vehicle between you and the bad driver as a buffer.
I am not condoning overall speeding, but to pass a dangerous situation, then yes you should have the ability to do that.
If you fall back to a safe distance, then driving behind them is as safe as driving can be. Yes, it requires a little patience and good judgment, which you may not have available
It is not as simple as you are saying. If the danger is in front of you, and you are going in that direction, then you are staying heading into danger unless you actually STOP.
Now what if that driver causes a fire in a wreck, collect a fuel truck up in the accident (possible explosion) , do you actually STILL WANT to be heading into that direction or ahead of it driving away from the accident. Drive with awareness and defensively, sometimes defensively means avoiding trouble by getting ahead of trouble, not behind it, driving into trouble.
Tom