The authorities will now be very concerned with the issue of pilot's mental health if this is true. After the Germanwings crash seven years ago, and a few before that which were suspected but not proven, something needs to be done.
Possibly we're going back to the days of not being left alone in the flight deck again. A psychiatric evaluation could be added to our medicals alongside the usual ECG, audiogram etc.