I believe that the best deterrent to such is to heighten the awareness of the relatedness of mankind and to increase respect for life in as many people as possible. For example, there are quite a few Moslems on State University campuses in the US and if Islamic extremists bombed a university building they might destroy one of their own people. But if this is not the case, I don't think most people will care. College degrees don't always bring jobs. Jobs may not last until retirement.
Marriages can fail.
Some children grow up to kill their parents who gave them life. Stock markets can crash. Farms might not yield the hopeful harvest. Tornadoes and Earthquakes can't be stopped. Drugs and doctors that should cure sometimes kill.