Do not confuse GPWS or EGPWS with the military terrain following radar, which I recall was a highlight of the F-111 suite. It did indeed look ahead and was pretty successful in permitting very low altitude flight over uncharted, hilly-to-mountainous terrain - over four decades ago.