The main purpose of this legislation is to strengthen U.S. immigration laws by removing a specific exception that currently allows certain individuals associated with terrorism to enter the country. The goal is to enhance national security by ensuring that anyone with ties to terrorism is not permitted to reside in the United States. The key provision of this legislation is the repeal of a particular clause in the Immigration and Nationality Act that has allowed some individuals who might otherwise be considered inadmissible due to terrorism-related grounds to enter the U.S.