The main purpose of this legislation is to eliminate the diversity immigrant program, which is a part of the Immigration and Nationality Act. This program was designed to provide visas to individuals from countries with low immigration rates to the United States, allowing them to become permanent residents. Key provisions of the legislation include the complete removal of the diversity visa program from the Immigration and Nationality Act.