Overtaking near a junction is dangerous because vehicles may suddenly emerge from or turn into the junction, potentially into the overtaking lane, creating a high risk of collision. Drivers waiting to emerge from the junction might not see an overtaking vehicle in their blind spot, making it risky to start overtaking there. Additionally, vehicles slowing to turn left may be allowing pedestrians to cross, adding to the hazard. Limited visibility near junctions also increases the likelihood of accidents due to unexpected maneuvers by other road users. It is safer to wait until clear of the junction before overtaking to avoid these unpredictable situations and ensure the maneuver can be completed safely.