Humans make mistakes, pilots make mistakes - the idea is to have systems and procedures in place to stop the humans making those mistakes.
RT procedures, flight-path deconfliction both in elevation and azimuth and good, regular training.
We know there is, almost without exception, more than one causal factor for any accident and sometimes even the best mitigations are found wanting when the holes in the swiss cheese line up.