I went to cross a road recently and my GF grabbed me and pulled me back, same situation as the OP but the kid was on her own, patiently waiting for the lights to change. Quite a risky stretch of road, but also quite sporadic traffic and a long phase for the pedestrian signal. tempting to just nip across. I hadn't even noticed the wee girl there, but then I don't really notice people at all usually. So we both waited too. Felt a little bit daft doing it, but I'm sure the wee girl felt daft waiting too, she was right to do it though. And I'm glad I did and would make a point of doing so now too.
Its no good saying the responsibility lies with the parents then undoing their hard work. We should all be parents, whether we have children or not.
We did some filming on an estate in Edinburgh a few years back and we got adopted by an old lady who would bring us flasks and biscuits. She was reminising on how there was a time when children, any children, would call her "Aunty" and responsibility for children lay with everybody. Now we just blame everybody.