Recognizing that there are opportunity costs that are relevant for cost–benefit analysis is the key to answering this question. A richer community can afford to place a higher value on life and safety. So the richer community is willing to pay more for a traffic light, and that should be considered in cost–benefit analysis.