What is the main reason that many cities have not built mass transit systems?

Cost- the upfont cost of building, for example, a subway would be extremely high and most cities would not be able to affford it- even if it was eventually paid up. the debt would be too high