Henry Petroski said this quote

Engineering is achieving function while avoiding failure.