Earthquake building codes aren’t really designed to save buildings. Engineers need to protect occupants, but there’s no rule that buildings should withstand earthquakes of any particular magnitude.