Look at the level of road fatalities [1] in the US - comparable with developing world countries. I vividly remember travelling on the interstate in the US in the 2000s, and seeing a couple of burnt out recent wrecks (most likely fatal) by the highway side every hour or so. That's incredibly shocking to someone from the EU. For contrast, I've driven by the site of a serious accident perhaps twice in my life here in Ireland - which has a road fatality rate 1/4 that of the US.
[1] https://en.wikipedia.org/wiki/List_of_countries_by_traffic-r...
Being a driver or passenger on a roadway in India is much more risky, but people in India are far less likely to die in this scenario because they spend so much less time in those situations than Americans.
Suppose drivers are perfect though. Things happen. You can't account for every kid, dog, ... running out in front of you. You don't know when there will be gravel on the road greatly increasing your braking distance. Top speeds of 15-25 are reasonable in a residential area in the sense that anything more greatly increases the chance and severity of pedestrian injury.