The main purpose of this legislation is to formally establish and enforce the principles outlined in Executive Order 14218, which aims to stop the use of taxpayer money to support policies that promote open borders. The objective is to ensure that government funds are not used to subsidize immigration policies that allow for unrestricted entry into the country. Key provisions of this legislation include the codification of Executive Order 14218, meaning that it will become a permanent part of U.S. law.