The main purpose of this legislation is to link federal highway funding to state compliance with federal immigration enforcement policies. It aims to ensure that states follow specific immigration laws related to driver's licensing and information sharing with federal authorities. The goal is to enhance road safety and national security by ensuring that only properly vetted individuals are issued driver's licenses. Key provisions of the legislation include a requirement for states to comply with federal immigration laws.