Should you think having the humans role in the cockpit replaced with automation is a good idea you only need to review incidents and accidents caused by automation, A320 written off because software wouldn't allow the crew to flare for landing for example. Replacing pilot error in the cockpit is merely replacing it with human error on the ground by way of software coding/design errors, hardware design, inability to test all electronic failure modes etc Failure mode of the 777 upset in Oz had previously been deemed as not possible.