The visa function attempts to facilitate legitimate travel while at the same time denying entry to the United States of certain individuals, including potential terrorists.
Terrorists can easily enter United States without fulfilling visa requirements.