Stopping to allow pedestrians to cross safely ensures compliance with the Highway Code and their safety.