CFIT always had a much higher incidence than mid-airs, and has reduced sharply since the advent of EGPWS.
So, nice as TCAS is, EGPWS has had the larger positive impact on safety.
Loss of control is now the number one killer, so we either come up with yet another gadget, or start training people to fly again!