"...bridges and civil engineering projects are designed to last, why can we also design software for it to last?"
Some software has lasted for many decades. This isn't necessarily a good thing. [1]
[1] https://arstechnica.com/tech-policy/2020/04/ibm-scrambles-to...